github_checks_list_annotations
List a check run's annotations to see each failure with file, line range, level, and message, revealing why a build is red before downloading logs.
Instructions
List a check run's annotations: each failure with the file, the line range, a level and a message, already extracted by whoever ran the check. The cheapest way to find out why a build is red — try this before downloading any log. GitHub returns at most 50 per page.
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>",
"checkRunId": "<checkRunId>"
},
"name": "github_checks_list_annotations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | The page number of the results to fetch. Defaults to 1. | |
| repo | Yes | The name of the repository without the `.git` extension. The name is not case sensitive. | |
| owner | Yes | The account owner of the repository. The name is not case sensitive. | |
| perPage | No | The number of results per page (max 100). Defaults to 30. | |
| checkRunId | Yes | The unique identifier of the check run. |