inventory_write
Create or update Snipe-IT accessories, components, and consumables with explicit fields, once required IDs are known. Does not assign, check in/out, or delete inventory.
Instructions
Create or update one accessory, component, or consumable using explicit fields. Use for ordinary inventory record writes after required IDs are known. This tool cannot assign, check in, check out, or delete inventory.
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": {
"inventory_type": "<inventory_type>",
"action_name": "<action_name>"
},
"name": "inventory_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qty | No | ||
| name | No | ||
| notes | No | ||
| serial | No | ||
| item_id | No | ||
| min_amt | No | ||
| company_id | No | ||
| action_name | Yes | ||
| category_id | No | ||
| location_id | No | ||
| supplier_id | No | ||
| model_number | No | ||
| order_number | No | ||
| purchase_cost | No | ||
| purchase_date | No | ||
| inventory_type | Yes | ||
| manufacturer_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | No | ||
| message | No | ||
| success | Yes | ||
| error_code | No | ||
| validation_errors | No |