annator / mcps /grok_com_github /tools /get_job_logs.json
techprotrade's picture
Add mcps directory
31c9f7d verified
Raw
History Blame Contribute Delete
1.45 kB
{
"name": "get_job_logs",
"description": "Get logs for GitHub Actions workflow jobs.\nUse this tool to retrieve logs for a specific job or all failed jobs in a workflow run.\nFor single job logs, provide job_id. For all failed jobs in a run, provide run_id with failed_only=true.\n",
"inputSchema": {
"type": "object",
"properties": {
"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."
},
"job_id": {
"type": "number",
"description": "The unique identifier of the workflow job. Required when getting logs for a single job."
},
"owner": {
"type": "string",
"description": "Repository owner"
},
"repo": {
"type": "string",
"description": "Repository name"
},
"return_content": {
"type": "boolean",
"description": "Returns actual log content instead of URLs"
},
"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",
"description": "Number of lines to return from the end of the log",
"default": 500
}
},
"required": [
"owner",
"repo"
]
}
}