tasks_list
Lists Cloud Tasks queues with pending and running counts and their waiting tasks, optionally filtered by queue or task state, to inspect backlog and dispatching work.
Instructions
The Cloud Tasks queues (with their pending and running counts) and the tasks waiting in them; with queue, only that queue's tasks, optionally in one state.
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_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Tasks per queue; default 20 | |
| queue | No | Queue id, key (queue:<project>-<location>-<id>) or its function name | |
| state | No | Only tasks in this state |