Will my CI job wait for a runner
ci_queueCall this before you push, to judge whether your job will wait for a runner and whether now is a busy time. For a repository it shows: what is waiting for a runner now (jobs, grouped by pull request or push, and the runner labels they wait on), how long the oldest has waited and whether the runners count as congested; the median wait for a runner (self-hosted jobs started today, else GitHub-hosted jobs in the last hour) and per workflow over its recent runs; which runners are busy and with which job (the runners the dashboard can see; where it cannot read the full list, those seen in recent jobs, and it says so); and runner capacity over the last 24 hours: the share of the day the runners were congested, and how much spare capacity there was. If the queue is long and your push is not urgent, keep committing locally and push once. Read-only, and it never fails: if the queue cannot be read it says why.
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": "ci_queue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | owner/name. Optional when the token covers one repository. | |
| limit | No | How many waiting groups and workflows to list (default 10). |