gitlab_get_pipeline_jobs
List the jobs in a GitLab pipeline with stage, status, duration and web URL. Use it after a failed pipeline to find which job broke, then fetch its log.
Instructions
List jobs of a pipeline with stage, status, duration and web URL.
Use after noticing a failed pipeline to drill down into which specific job
broke and fetch its log via gitlab_get_job_log.
Examples:
- "What jobs are in pipeline 123" → pipeline_id=123
- "Which job failed in pipeline 456" → filter result by status='failed' client-side
- Don't use for overall pipeline status — use gitlab_get_pipeline instead.
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": {
"pipeline_id": "<pipeline_id>",
"project_path": "<project_path>"
},
"name": "gitlab_get_pipeline_jobs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pipeline_id | Yes | Numeric pipeline ID. | |
| project_path | Yes | GitLab project path (e.g. 'my-org/my-repo'). Required by default. For legacy deployments only, set GITLAB_ALLOW_DEFAULT_PROJECT=true to use GITLAB_PROJECT_PATH when omitted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobs | Yes | ||
| jobs_count | Yes | ||
| pipeline_id | Yes |