manage_locations
Create, retrieve, list, update, and delete Snipe-IT locations. Also view assets and users assigned to each location for effective inventory organization.
Instructions
Manage Snipe-IT locations with CRUD operations.
Locations represent physical places where assets are stored or deployed.
Operations:
create: Create a new location (requires location_data with name)
get: Retrieve a single location by ID
list: List locations with optional pagination and filtering
update: Update an existing location (requires location_id and location_data)
delete: Delete a location (requires location_id)
assets: List all assets at a specific location
users: List all users assigned to a location
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/users actions) | |
| order | No | Sort order (for list action) | |
| action | Yes | The action to perform on locations | |
| offset | No | Number of results to skip (for list/assets/users actions) | |
| search | No | Search query (for list action) | |
| location_id | No | Location ID (required for get, update, delete, assets, users) | |
| location_data | No | Location data (required for create, optional for update) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||