get_queue_agents
Retrieve agents assigned to a specific queue, including their login status. Optionally filter to show only currently logged-in agents.
Instructions
Use this when the user asks 'who is in queue X?', 'which agents are logged into 802?', or 'who is working the support queue?'. Resolves the queue by number or name, then returns its agents with login status. Set loggedInOnly=true to show only currently logged-in agents.
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": {
"queue": "<queue>"
},
"name": "get_queue_agents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| queue | Yes | Queue number or queue name, e.g. '802' or 'Support'. | |
| loggedInOnly | No | If true, only agents that appear logged in are returned. |