Update Product
update_productUpdate an existing product's attributes by providing its ID along with any optional fields to modify.
Instructions
Update an existing product by providing correct id(mandatory) as input along with with sku(optional), name(optional), description(optional but better to have), price(optional), and quantity(optional).
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": "update_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| sku | No | ||
| name | No | ||
| price | No | ||
| quantity | No | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| sku | Yes | ||
| name | Yes | ||
| price | Yes | ||
| quantity | Yes | ||
| created_at | No | ||
| updated_at | No | ||
| description | No |