PR checks
gh_pr_checksReport a pull request's CI check counts by state and list failing or pending checks, defaulting to the current branch's PR.
Instructions
Report a pull request's CI checks as counts per state plus the failing and pending checks. Defaults to the current branch's PR; passing checks are counted, not listed, unless all=true.
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": "gh_pr_checks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr | No | PR number, URL or branch (default: the current branch's PR) | |
| all | No | List passing and skipped checks too (default: only the rest) | |
| cwd | No | Repository path (default: the server's working directory) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checks | Yes | ||
| counts | Yes | ||
| retained | No |