GitHub
get_job_logs
Get logs for GitHub Actions workflow jobs. Use this tool to retrieve logs for a specific job or all failed jobs in a workflow run. For single job logs, provide job_id. For all failed jobs in a run, provide run_id with failed_only=true.
Remote github
Other tools also called get_job_logs?
See providers with this name
Input Schema
{
"type": "object",
"properties": {
"repo": {
"type": "string",
"description": "Repository name"
},
"owner": {
"type": "string",
"description": "Repository owner"
},
"job_id": {
"type": "number",
"description": "The unique identifier of the workflow job. Required when getting logs for a single job."
},
"run_id": {
"type": "number",
"description": "The unique identifier of the workflow run. Required when failed_only is true to get logs for all failed jobs in the run."
},
"tail_lines": {
"type": "number",
"default": 500,
"description": "Number of lines to return from the end of the log"
},
"failed_only": {
"type": "boolean",
"description": "When true, gets logs for all failed jobs in the workflow run specified by run_id. Requires run_id to be provided."
},
"return_content": {
"type": "boolean",
"description": "Returns actual log content instead of URLs"
}
}
}