tasks_stats
Reports Cloud Tasks queue statistics, including task counts, add/failure rates, completed and running dispatch slots, max rate, and max concurrency, so agents can inspect emulator queue health.
Instructions
Report each Cloud Tasks queue's statistics as the official emulator's queueStats does: numberOfTasks, tasksAdded and failedTasks (five-minute counts divided by five), completedLastMin, runningTasks (the dispatch slots, not tasks running), maxRate and maxConcurrent. For the waiting tasks themselves, use tasks_list.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "tasks_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||