GitHub get job logs
github_get_job_logsDownload and read the log output for a specific GitHub Actions job. Prefer the exact owner from github_list_repositories; 'repo' also accepts the combined 'owner/name' form. Returns the actual console output from the job execution, showing build errors, test failures, and other details. Use this after getting workflow run jobs to read the logs for a failed job.
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": {
"repo": "<repo>",
"job_id": "<job_id>"
},
"name": "github_get_job_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name. Also accepts the combined 'owner/name' form. | |
| owner | No | Repository owner (e.g. 'octocat'). Prefer the exact owner from a prior github_list_repositories call. May be omitted when the repository name is unambiguous in this organisation, or embedded in 'repo' as 'owner/name'. | |
| job_id | Yes | The job ID. Get this from github_get_workflow_run_jobs. |