List agents
Agents who can be assigned tickets, with ID, name and role.
MCP tool happyfox_read → list_agents
read
Lists the staff in your HappyFox with ID, name and role. Use assignee_id with update_ticket. What your agent user can see depends on its role.
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": "happyfox_read",
"arguments": {
"operation": "list_agents",
"arguments": {}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"agents": [
{
"agent_id": 12,
"name": "Sam Okafor",
"role": "Agent"
},
{
"agent_id": 3,
"name": "Lena Ortiz",
"role": "Admin"
}
]
},
"isError": false
}