manage_components
Create, retrieve, list, update, and delete Snipe-IT components (RAM, hard drives, CPUs) that can be checked out to assets.
Instructions
Manage Snipe-IT components with CRUD operations.
Components are items that can be checked out to assets (not users). Examples: RAM, hard drives, CPUs, etc.
Actions:
create: Create a new component (requires component_data with name, qty, category_id)
get: Retrieve a single component by ID
list: List components with optional pagination and filtering
update: Update an existing component
delete: Delete a component
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 components | |
| offset | No | Number of results to skip (for list action) | |
| search | No | Search query (for list action) | |
| component_id | No | Component ID (required for get, update, delete) | |
| component_data | No | Component data (required for create, optional for update) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||