runPipeline
Triggers a Bitbucket pipeline run for a specified branch, tag, or custom pipeline, using optional variables and selector settings.
Instructions
Trigger a new pipeline run on a branch, tag, or custom pipeline
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": {
"ref_name": "<ref_name>"
},
"name": "runPipeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref_name | Yes | Branch, tag, or bookmark name | |
| ref_type | No | Reference type (default: branch) | |
| repo_slug | No | ||
| variables | No | Pipeline variables | |
| workspace | No | ||
| selector_type | No | Pipeline selector type | |
| selector_pattern | No | Pipeline name for custom pipelines |