get_users
List Directus users with filtering, sorting, search, pagination, and field selection to control response size.
Instructions
Lists Directus users (directus_users) with filtering, sorting, field selection, search and pagination. Use get_user to fetch one user when the id is known. Returns at most 25 users unless limit says otherwise. Results are scoped to the permissions of the token, so a token without access to directus_users gets an empty list rather than an error. Directus never returns password hashes or static tokens; pass fields to keep responses small.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_users"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort fields | |
| limit | No | Number of users to return (default: 25) | |
| fields | No | Fields to return | |
| filter | No | Filter conditions | |
| offset | No | Number of users to skip | |
| search | No | Search query |