Manage Pipeline
manage_pipelineRetry or cancel a CI/CD pipeline in a GitLab project using the pipeline IID and authenticated write credentials.
Instructions
Retry or cancel a CI/CD pipeline (requires user authentication with write permissions)
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": {
"projectPath": "<projectPath>",
"pipelineIid": "<pipelineIid>",
"action": "<action>"
},
"name": "manage_pipeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform on the pipeline | |
| pipelineIid | Yes | Pipeline IID | |
| projectPath | Yes | Full path of the project (e.g., "group/project-name") | |
| userCredentials | No | Your GitLab credentials (optional — falls back to the configured env token if not provided) |