create_item
Create an inventory item in Homebox and enrich it in one call with location, tags, custom fields, purchase details, serial number, quantity, and warranty data.
Instructions
Create an inventory item and enrich it in one call.
location is where the item goes, resolved as in move_item: a location
name or /-separated path (must exist; use list_locations), or a container
item, e.g. 'Camera Bag', 'Office/Camera Bag' or its assetId ('000-012').
A location wins over an item with the same name. tags are tag names (must already exist; use list_tags).
fields maps custom-field name -> value; each value's JSON type picks the
field type (string -> text, number -> number [integer-coerced],
true/false -> boolean). Returns the new assetId and id.
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": "create_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| tags | No | ||
| model | No | ||
| notes | No | ||
| fields | No | ||
| serial | No | ||
| location | No | ||
| quantity | No | ||
| manufacturer | No | ||
| purchase_date | No | ||
| purchase_from | No | ||
| purchase_price | No | ||
| warranty_expires | No |