manage_accessories
Create, retrieve, update, and delete accessory records in Snipe-IT, managing quantity-based items like cables and adapters to keep inventory data accurate.
Instructions
Manage Snipe-IT accessories with CRUD operations.
Accessories are quantity-based items (cables, adapters, peripherals) that can be checked out to users. Unlike assets, accessories are tracked by quantity rather than individually.
Operations:
create: Create a new accessory (requires accessory_data with name, qty, and category_id)
get: Retrieve a single accessory by ID
list: List accessories with optional pagination and filtering
update: Update an existing accessory (requires accessory_id and accessory_data)
delete: Delete an accessory (requires accessory_id)
Returns: dict: Result of the operation including success status and data
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 accessories | |
| offset | No | Number of results to skip (for list action) | |
| search | No | Search query (for list action) | |
| accessory_id | No | Accessory ID (required for get, update, delete) | |
| accessory_data | No | Accessory data (required for create, optional for update) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||