workflow_limit_hits
Lists provider usage-limit hits and workflow runs blocked on recovery from persisted evidence, with filters for repo, workflow, and time range. Read-only; no retries.
Instructions
Provider usage-limit hits and blocking recoveries of workflow runs, from persisted run evidence.
Read-only: nothing is retried, switched or continued. Evidence is only an attempt's failure_diagnostic with category usage_limit (headless and Codex-native attempts alike) and the run's orchestrator or worker usage-limit recovery checkpoint; node results and prose are never read. Direct callers read every run; a workflow orchestrator reads its own run and descendants verified through persisted invocation links; workers and builders are refused.
current lists runs blocked on a usage-limit recovery (at most 100), reported on the owning run even while its root is running. latest is the newest hit per (backend, requested_model, observed_model) among the newest 500 hits matching the window bound: the first of root_workflow_run_id (not supported for managed callers), workflow_id and repo that is set, plus the since (inclusive) and before (exclusive) ISO8601 range with timezone; the other filters apply inside that window and there is no pagination. At most 50 keys are returned. current_only reports only current. Each hit carries root_workflow_run_id, workflow_run_id, node_id, execution_id, attempt, task_id, transport_task_id, observed_at (when the attempt settled; observed_at_source names the field), diagnostic, reset {raw, at, state} (a numeric reset is epoch seconds; elapsed does not say the provider is available again), an accepted recovery {accepted, answer} when one answered it, and detail_ref, the get_workflow_run_detail arguments for execution:. Each attempt is its own hit: native children that share a transport report it in transport_task_id. unavailable lists up to 20 runs whose document could not be read. scan.complete is false when a cap was reached, runs are unavailable or the index is still preparing (index_state), so retry while it is preparing. See docs/usage-limits.md.
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": "workflow_limit_hits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | ||
| since | No | ||
| before | No | ||
| workflow_id | No | ||
| current_only | No | ||
| root_workflow_run_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||