trigger_pipeline
Start an Azure DevOps pipeline run by ID, optionally specifying branch, project, variables, template parameters, and stages to skip.
Instructions
Trigger a pipeline run
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": {
"pipelineId": "<pipelineId>"
},
"name": "trigger_pipeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | The branch to run the pipeline on (e.g., "main", "feature/my-branch"). If left empty, the default branch will be used | |
| projectId | No | The ID or name of the project (Default: MyProject) | |
| variables | No | Variables to pass to the pipeline run | |
| pipelineId | Yes | The numeric ID of the pipeline to trigger | |
| stagesToSkip | No | Stages to skip in the pipeline run | |
| templateParameters | No | Parameters for template-based pipelines |