Search Zendesk Users
search_usersFind Zendesk users by name, email, or query and retrieve their IDs, roles, and active status to use in follow-up actions.
Instructions
Find users by name, email or Zendesk query. Each match has id, name, email, role, active flag and organization id, plus the total. Use it to get the user id other tools take; a name can match several users, so confirm. By id: get_user; yourself: get_current_user. Prefer it to search, which mixes in tickets and organizations.
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": {
"query": "<query>"
},
"name": "search_users"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based page number; keep per_page fixed while paging. | |
| query | Yes | Name or email text and/or filters like "role:agent" or "organization_id:123"; type:user is added. | |
| per_page | No | Results per page; the header gives the total and whether more pages remain. |