update_catalog_product
Edit an existing catalog product. Send only the fields you want to change; omitted fields are left as-is. Price is in major units as a string (e.g. "9.99"). Requires confirm:true after the user approves the product and changed fields.
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": {
"product_id": "<product_id>",
"confirm": "<confirm>"
},
"name": "update_catalog_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| name | No | ||
| brand | No | ||
| price | No | Price in major units, e.g. "9.99". | |
| confirm | Yes | Must be true, and only after the user has explicitly approved this exact change (account, items and new values) in the conversation. | |
| currency | No | 3-letter currency code. Send together with price. | |
| image_url | No | ||
| product_id | Yes | The product id to edit. | |
| description | No | ||
| availability | No | One of: in stock, out of stock, preorder, available for order, discontinued. |