manage_categories
Create, retrieve, list, update, or delete Snipe-IT categories to organize assets, accessories, consumables, components, and licenses.
Instructions
Manage Snipe-IT categories with CRUD operations.
Categories organize assets, accessories, consumables, components, and licenses.
Operations:
create: Create a new category (requires category_data with name and category_type)
get: Retrieve a single category by ID
list: List categories with optional pagination and filtering
update: Update an existing category (requires category_id and category_data)
delete: Delete a category (requires category_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_categories"
}
}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 categories | |
| offset | No | Number of results to skip (for list action) | |
| search | No | Search query (for list action) | |
| category_id | No | Category ID (required for get, update, delete) | |
| category_data | No | Category data (required for create, optional for update) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||