Get GitLab job log
get_job_logFetch the plain-text trace for a GitLab CI job, returning up to 5 MB of logs per call. Use this when you need to view or debug a specific job's output without downloading the full artifact.
Instructions
Retrieve the plain-text trace for a GitLab CI job, up to the configured response safety limit.
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": {
"project": "<project>",
"job_id": "<job_id>"
},
"name": "get_job_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| project | Yes | GitLab project ID or full path such as group/project. | |
| max_bytes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | GitLab response normalized for model use. |