create_modifier
Create a new modifier in an existing modifier group, with price validation and confirm-before-write.
Instructions
Modifies merchant data. Create a new modifier within a modifier group.
Pre-check: verifies the modifier group exists (404 -> clear error). Bounds: 0 <= price_cents <= 100_000_000. Previews on dry_run; confirms via MCP elicitation or confirm=True before writing. Requires INVENTORY_W.
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": {
"modifier_group_id": "<modifier_group_id>",
"name": "<name>",
"price_cents": "<price_cents>"
},
"name": "create_modifier"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| confirm | No | ||
| dry_run | No | ||
| price_cents | Yes | ||
| modifier_group_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||