modx_ms2_update_option
Updates a miniShop2 product option's settings, including key, type, caption, category, properties, and display details.
Instructions
Update a miniShop2 product option in settings options.
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": "modx_ms2_update_option"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| key | No | ||
| type | No | ||
| caption | No | ||
| category | No | ||
| properties | No | ||
| description | No | ||
| category_ids | No | ||
| measure_unit | No |