Add inventory item
hortusfox_add_inventory_itemAdd a new inventory item to the system. Provide a name and optional details such as tags, group, photo, amount, location, or description.
Instructions
Add a new inventory item. Returns the new item ID. Endpoint: /api/inventory/add.
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": {
"name": "<name>"
},
"name": "hortusfox_add_inventory_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Item name. | |
| tags | No | Optional comma-separated tags. | |
| group | No | Optional inventory group ID. | |
| photo | No | Optional photo URL. | |
| amount | No | Optional current amount/quantity. | |
| location | No | Optional location ID for the item. | |
| description | No | Optional item description. |