manage_companies
Create, retrieve, list, update, and delete companies in Snipe-IT. Organize assets and users by organization for multi-tenant setups or subsidiary tracking.
Instructions
Manage Snipe-IT companies with CRUD operations.
Companies allow you to segment your assets and users by organization. Useful for multi-tenant installations or tracking assets by subsidiary.
Actions:
create: Create a new company (requires company_data with name)
get: Retrieve a single company by ID
list: List companies with optional pagination and filtering
update: Update an existing company
delete: Delete a company
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 companies | |
| offset | No | Number of results to skip (for list action) | |
| search | No | Search query (for list action) | |
| company_id | No | Company ID (required for get, update, delete) | |
| company_data | No | Company data (required for create, optional for update) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||