github_checks_list_for_ref
List all check runs for a specific Git reference (branch, tag, or commit SHA) in a repository. Filter by check name, status, or completion time to monitor CI/CD results.
Instructions
List check runs for a Git reference
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"owner": "<owner>",
"repo": "<repo>",
"ref": "<ref>"
},
"name": "github_checks_list_for_ref"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ref | |
| page | No | The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." | |
| repo | Yes | repo | |
| owner | Yes | owner | |
| app_id | No | app_id | |
| filter | No | Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. | |
| status | No | Returns check runs with the specified `status`. | |
| per_page | No | The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." | |
| check_name | No | Returns check runs with the specified `name`. |