modx_ms2_create_option
Create a miniShop2 product option with a key, caption, and type, and optionally assign category, measurement unit, and custom properties for product configuration.
Instructions
Create 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": {
"key": "<key>",
"caption": "<caption>",
"type": "<type>"
},
"name": "modx_ms2_create_option"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| type | Yes | ||
| caption | Yes | ||
| category | No | ||
| properties | No | ||
| description | No | ||
| category_ids | No | ||
| measure_unit | No |