trigger_pipeline
Start an Azure DevOps pipeline run by pipeline ID or name, choosing the branch and passing variables, template parameters, or stages to skip.
Instructions
Trigger a pipeline run. The pipeline can be identified by pipelineId or pipelineName.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"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 (defaults to AZURE_DEVOPS_DEFAULT_PROJECT) | |
| variables | No | Variables to pass to the pipeline run | |
| pipelineId | No | The numeric ID of the pipeline to trigger. Alternatively provide pipelineName | |
| pipelineName | No | Pipeline (build definition) name, as shown in the Azure DevOps UI. Alternative to pipelineId. Prefix it with its folder path to disambiguate pipelines that share a name (e.g. "Backend/Deploy"; "/Deploy" for the root folder). | |
| stagesToSkip | No | Stages to skip in the pipeline run | |
| templateParameters | No | Parameters for template-based pipelines |