manage_models
Create, retrieve, list, update, and delete asset models in Snipe-IT, or list assets assigned to a specific model.
Instructions
Manage Snipe-IT asset models with CRUD operations.
Models define types of assets (e.g., 'MacBook Pro 14"', 'Dell XPS 15').
Operations:
create: Create a new model (requires model_data with name and category_id)
get: Retrieve a single model by ID
list: List models with optional pagination and filtering
update: Update an existing model (requires model_id and model_data)
delete: Delete a model (requires model_id)
assets: List all assets of a specific model
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/assets actions) | |
| order | No | Sort order (for list action) | |
| action | Yes | The action to perform on asset models | |
| offset | No | Number of results to skip (for list/assets actions) | |
| search | No | Search query (for list action) | |
| model_id | No | Model ID (required for get, update, delete, assets) | |
| model_data | No | Model data (required for create, optional for update) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||