Change a modifier’s rules on a category
hub_update_category_modifierChange how a modifier is asked in ONE category — required, min, max, order — leaving every other category alone. Omit a field to leave it as it is; pass null to min or max to CLEAR that limit. The two are different, so be deliberate. The platform tidies the combination and reports what it actually stored: turning required on sets a minimum of 1, any minimum of 1 or more turns required on, and a "Pick one" modifier keeps no min or max at all. Read the result rather than assuming your input was kept. required: false together with a minimum of 1 or more is a contradiction and is refused.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"categoryModifierId": "<categoryModifierId>"
},
"name": "hub_update_category_modifier"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | null clears the cap | |
| min | No | null clears the minimum | |
| required | No | ||
| sortOrder | No | ||
| categoryModifierId | Yes | Link id from get_category_modifiers — the link, NOT the modifier and NOT the category |