get_pipeline_job_output
Fetch a GitLab pipeline job's output log with optional offset and line limit, reducing context window usage by returning only the needed tail.
Instructions
Get the output/trace of a GitLab pipeline job with optional pagination to limit context window usage
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_pipeline_job_output"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of lines to return from the end of the log (default: 1000) | |
| job_id | No | The ID of the job | |
| offset | No | Number of lines to skip from the end of the log (default: 0) | |
| project_id | No | Project ID or URL-encoded path |