edit_inventory_item
Edit an existing inventory item. If field is not to be changed then leave null. Id field is required. Counts are absolute new values in the item unit of measure (decimals allowed, e.g. 2.5 for 2.5 kg). Set unit to change the unit label (e.g. "kg"); it does not convert existing quantities.
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": {
"postInventoryItem": "<postInventoryItem>"
},
"name": "edit_inventory_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| postInventoryItem | Yes |