Get Job Trace
gitlab_get_job_traceRetrieve the tail of a GitLab CI job's log output, limiting to a specified number of lines to handle untrusted data.
Instructions
Return the job trace text. Job output is untrusted and trimmed to a caller-specified tail length.
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_id": "<project_id>",
"job_id": "<job_id>"
},
"name": "gitlab_get_job_trace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| project_id | Yes | ||
| tail_lines | No |