gitlab_list_pipelines
List recent GitLab project pipelines newest first and filter by status, branch or tag, and trigger source to triage failures or check release readiness.
Instructions
List recent pipelines of a project, newest first.
Use for triage ("show failed pipelines on master"), release readiness checks, or feeding pipeline IDs into follow-up calls. Read-only and idempotent.
Returns PipelinesListOutput: project, count, pagination and
pipelines[] (each PipelineSummary). The tool result additionally
carries a markdown table in its text content.
Examples:
- "Show failed pipelines on master" → status='failed', ref='master'
- "Last nightly schedule runs" → source='schedule'
- "Second page of pipelines" → page=2
- Don't use when you have a specific pipeline ID — 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": {
"project_path": "<project_path>"
},
"name": "gitlab_list_pipelines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Filter by branch or tag name (e.g. 'master'). | |
| page | No | 1-based page number. | |
| source | No | Filter by pipeline trigger source. | |
| status | No | Filter by pipeline status. | |
| per_page | No | Items per page (1–100). | |
| 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 |
|---|---|---|---|
| count | Yes | ||
| project | Yes | ||
| pipelines | Yes | ||
| pagination | Yes |