List agents
Agents and admins who can be assigned tickets, with role.
MCP tool zendesk_read → list_agents
read
Lists agents and admins in your Zendesk with ID, name and role. Light agents and collaborators are left out, because tickets cannot be assigned to them. Use assignee_id with update_ticket.
Parameters
| Name | Type | Description |
|---|---|---|
| query string | string | Only agents whose name or email contains this text. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "zendesk_read",
"arguments": {
"operation": "list_agents",
"arguments": {}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"agents": [
{
"user_id": 20118842,
"name": "Sam Okafor",
"role": "agent"
},
{
"user_id": 20118001,
"name": "Lena Ortiz",
"role": "admin"
}
]
},
"isError": false
}