gitlab_get_pipeline
Retrieve a single GitLab pipeline with full timing details, including status, ref, source, queued/total durations, and timestamps, to diagnose slow or running pipelines.
Instructions
Get a single pipeline with full timing details.
Useful right after gitlab_list_pipelines — lists only return summaries.
Returns status, ref, source, durations (queued/total), and started/finished timestamps.
Examples:
- "Why was pipeline 123 slow" → check queued_duration and duration fields
- "Is pipeline 456 still running" → look at status
- Don't use to see individual jobs — use gitlab_get_pipeline_jobs.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pipeline_id | Yes | Numeric pipeline ID (not ``iid``). | |
| 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 |
|---|---|---|---|
| id | Yes | ||
| ref | Yes | ||
| source | Yes | ||
| status | Yes | ||
| web_url | Yes | ||
| duration | Yes | ||
| created_at | Yes | ||
| started_at | Yes | ||
| updated_at | Yes | ||
| finished_at | Yes | ||
| queued_duration | Yes |