List Pipelines Tool
list_pipelines_toolList and filter CI/CD pipelines for a GitLab project by branch, tag, status, or sort order to review build and deployment runs.
Instructions
List CI/CD pipelines for a GitLab project.
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_id": "<project_id>"
},
"name": "list_pipelines_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Filter by branch or tag name | |
| page | No | Page number (default: 1) | |
| sort | No | Sort direction (asc, desc) | desc |
| status | No | Filter by status (created, waiting_for_resource, preparing, pending, running, success, failed, canceled, skipped, manual, scheduled) | |
| order_by | No | Order by field (id, status, ref, updated_at, user_id) | id |
| per_page | No | Results per page, max 100 (default: 20) | |
| project_id | Yes | Project ID or path |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||