Skip to content

assign_product_group_rounding_rule

Select a rate rounding rule for a derived product group. The group’s modifierPercentage and parent stay as they are, and the group’s prices change straight away. The rule must be in the same workspace as the group. The request is sent once and never retried: if the outcome is uncertain (OUTCOME_UNKNOWN) the tool reads the group’s current choice and returns it as currentSelection, so compare it with what you asked for before asking again.

Parameter Type Required Description
productGroupId string Yes The ID of the derived product group that selects the rule
roundingRuleId string Yes The ID of the rounding rule to select
Field Type Description
content ContentItem[] Array of content items returned by the tool - ContentItem
isError boolean Whether the tool execution resulted in an error
Field Type Description
type 'text' Content type (currently only ‘text’ is supported)
text string The text content to display