CI job log
gitlab_get_job_traceRetrieve the trace log of a GitLab job by its job ID. View full or truncated job output for debugging pipelines.
Instructions
Returns the trace (full or truncated log) for a job by job_id.
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": {
"job_id": "<job_id>"
},
"name": "gitlab_get_job_trace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Job ID (not to be confused with pipeline_id). | |
| max_chars | No | ||
| repo_path | No | Absolute local clone path; resolves project and MR from current branch. | |
| project_id | No | Numeric ID or group/repo path on GitLab. |