update_product
Update an existing product. Only provided fields are changed.
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": {
"productId": "<productId>"
},
"name": "update_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | No | SKU code | |
| name | No | Product name | |
| price | No | Price as decimal string | |
| status | No | Product status | |
| productId | Yes | The product ID | |
| categoryIds | No | Category IDs (first is primary). Replaces all existing categories. | |
| description | No | Product description | |
| memberPrice | No | Members-only price | |
| discountPrice | No | Discounted price |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Tool result payload — shape varies per tool, see the tool description | |
| summary | Yes | One-line human-readable summary of the action | |
| renderType | Yes | UI rendering hint for the result |