Job List
job_listList every async job in this worker session and diagnose stuck shape optimizations via main-thread queue metrics, showing whether work is slow or not being polled.
Instructions
List every async job this worker session. Returns {count, jobs:[{job_id,
kind, status, elapsed_s}]} in submit order, plus main_thread_queue:{queued, ran,
failed, drains, pending} — the diagnostic for a shape optimization that looks
stuck. Those builds run on the worker's main thread, and that queue is drained
once per request: pending high with drains climbing means the work is slow;
drains flat means nothing is polling, so nothing is advancing.
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": "job_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | No | Run this call in this named workspace |