Queue stats
queue_statsCounts jobs per state for a specified queue, using the backend's native state names.
Instructions
Report the number of jobs in each state for a queue, using the backend's own state names.
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": "queue_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| queue | Yes | Queue name, as reported by list_queues. | |
| backend | No | Which backend owns the queue. Optional when the queue name is unique across backends. |