manage_consumables
Create, retrieve, list, update, and delete Snipe-IT consumables. Manage consumable fields like quantity, category, cost, and location to keep inventory accurate.
Instructions
Manage Snipe-IT consumables with CRUD operations.
This tool handles all basic consumable operations:
create: Create a new consumable (requires consumable_data with name, qty, and category_id)
get: Retrieve a single consumable by ID
list: List consumables with optional pagination and filtering
update: Update an existing consumable (requires consumable_id and consumable_data)
delete: Delete a consumable (requires consumable_id)
Returns: dict: Result of the operation including success status and data
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": {
"action": "<action>"
},
"name": "manage_consumables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Field to sort by (for list action) | |
| limit | No | Number of results to return (for list action) | |
| order | No | Sort order (for list action) | |
| action | Yes | The action to perform on consumables | |
| offset | No | Number of results to skip (for list action) | |
| search | No | Search query (for list action) | |
| consumable_id | No | Consumable ID (required for get, update, delete) | |
| consumable_data | No | Consumable data (required for create, optional for update) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||