manage_users
Perform CRUD operations on Snipe-IT users: create, fetch, list, update, delete, restore, or retrieve the current authenticated user.
Instructions
Manage Snipe-IT users with CRUD operations.
This tool handles all user operations:
create: Create a new user (requires user_data with username, password, first_name)
get: Retrieve a single user by ID
list: List users with optional pagination and filtering
update: Update an existing user (requires user_id and user_data)
delete: Delete a user (requires user_id)
restore: Restore a soft-deleted user (requires user_id)
me: Get the currently authenticated user
Returns: dict: Result of the operation including success status and data
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "manage_users"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Field to sort by (for list action) | |
| No | Email for exact match (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 users | |
| offset | No | Number of results to skip (for list action) | |
| search | No | Search query (for list action) | |
| user_id | No | User ID (required for get, update, delete, restore) | |
| username | No | Username for exact match (for list action) | |
| user_data | No | User data (required for create, optional for update) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||