Decrement inventory amount
hortusfox_decrement_inventory_itemReduce an inventory item's quantity by one and return the updated amount. Decrement stock levels in the plant management system.
Instructions
Decrement the amount of an inventory item by one. Returns the new amount. Endpoint: /api/inventory/amount/dec.
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": {
"item": "<item>"
},
"name": "hortusfox_decrement_inventory_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | The inventory item ID. |