Edit a variation choice
variation_choice_editEdit an existing variation choice by its ID. All fields optional except ID. Use data_list_variations to find choice IDs.
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": {
"id": "<id>"
},
"name": "variation_choice_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the variation choice to modify | |
| 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 |