manage_fieldsets
Create, update, list, delete, and reorder fieldsets to organize custom fields for asset models in Snipe-IT.
Instructions
Manage Snipe-IT fieldsets with CRUD operations.
Fieldsets are collections of custom fields that can be assigned to asset models. Each model can have one fieldset, and all assets of that model will have the custom fields defined in the fieldset.
Actions:
create: Create a new fieldset (requires fieldset_data with name)
get: Retrieve a single fieldset by ID
list: List fieldsets with optional pagination
update: Update an existing fieldset
delete: Delete a fieldset
fields: List all fields in a fieldset
reorder: Reorder fields in a fieldset (requires field_order list of field IDs)
Returns: dict: Result of the operation including success status and data
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of results to return (for list action) | |
| action | Yes | The action to perform on fieldsets | |
| offset | No | Number of results to skip (for list action) | |
| field_order | No | Ordered list of field IDs (for reorder action) | |
| fieldset_id | No | Fieldset ID (required for get, update, delete, fields, reorder) | |
| fieldset_data | No | Fieldset data (required for create, optional for update) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||