Update Product
updateProductUpdate product details by providing its ID and new values for title, price, description, category, or image.
Instructions
Updates a product by id. Note: fakestoreapi.com simulates writes and does not persist them.
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": "updateProduct"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| image | No | ||
| price | No | ||
| title | No | ||
| category | No | ||
| description | No |