Get Mr Pipelines Tool
get_mr_pipelines_toolList pipelines for a merge request newest first and inspect each run’s SHA and status to confirm the MR head passed CI before merging.
Instructions
List the pipelines of a merge request, newest first.
Each pipeline carries the sha it ran on and its status (success, failed, running, ...), so you can confirm the MR head passed CI before merging.
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>",
"merge_request_iid": "<merge_request_iid>"
},
"name": "get_mr_pipelines_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (default: 1) | |
| per_page | No | Results per page (default: 20, max: 100) | |
| project_id | Yes | Project ID or path | |
| merge_request_iid | Yes | Merge request internal ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||