Create product option
hub_create_product_optionCreate a new variation axis with its possible values. Use it only when get_product_options shows nothing suitable. The axis is shared across the whole catalogue, not one product — so confirm the name and values with the merchant first and reuse an existing axis when one fits.
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": {
"name": "<name>",
"values": "<values>"
},
"name": "hub_create_product_option"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Axis name as the merchant says it, e.g. "Size" | |
| values | Yes | Possible values in display order, e.g. ["Small","Medium","Large"] |