update_inventory
Partially update an existing inventory record using its ID. Change fields like quantity, warehouse, or SKU without replacing the entire entry.
Instructions
Update an existing inventory by id (partial update).
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>",
"data": "<data>"
},
"name": "update_inventory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The resource id | |
| data | Yes | Fields to change on the inventory. Common fields: quantity/stock, warehouseId, sku. |