Add a variation choice
variation_choice_addAdd a new choice to a variation (e.g. "Large" to the "Size" variation). Requires a title and idVariation. Optional: deltaPrice to adjust the price, position, description, ending (marks it as last choice), unavailable.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "variation_choice_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Choice label (e.g. 'Large', 'Red') | |
| ending | No | 1 if selecting this choice ends the variation selection flow | |
| position | No | Display order within the variation | |
| deltaPrice | No | Price adjustment applied when this choice is selected | |
| description | No | Additional description for this choice | |
| idVariation | No | ID of the parent variation type | |
| unavailable | No | 1 to mark this choice as temporarily unavailable |