Edit inventory item
hortusfox_edit_inventory_itemEdit an existing inventory item by providing its ID and updating fields like name, quantity, location, or tags.
Instructions
Edit an existing inventory item by ID. Endpoint: /api/inventory/edit.
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_edit_inventory_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | The inventory item ID to edit. | |
| name | No | Updated name. | |
| tags | No | Updated comma-separated tags. | |
| group | No | Updated inventory group ID. | |
| photo | No | Updated photo URL. | |
| amount | No | Updated amount/quantity. | |
| location | No | Updated location ID. | |
| description | No | Updated description. |