Get Pipeline Job Output
gitlab_get_pipeline_job_outputRetrieves a bounded CI/CD job trace window or searches it for matching lines with context, so you can inspect GitLab pipeline job output without loading the full log.
Instructions
Get a bounded, untrusted job trace window (at most 1,000 lines from the end), or pass search (a substring or list of substrings, case-insensitive by default) to return only matching lines with context from the loaded log.
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_pipeline_job_output"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| job_id | Yes | ||
| offset | No | ||
| search | No | ||
| project_id | No | ||
| max_matches | No | ||
| context_lines | No | ||
| case_sensitive | No |