get_user
Fetches a single Directus user by ID with optional field selection. Use it for read-only user lookups when the exact user ID is known.
Instructions
Fetches one Directus user by id, with optional field selection. Use get_users to search or list when the id is unknown. Read-only. Fails when the id does not exist or the token cannot read directus_users. The password hash and static token are never returned. The shorthand id me is not resolved here, so pass the actual user id.
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": {
"id": "<id>"
},
"name": "get_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | User ID | |
| fields | No | Fields to return |