trigger_pipeline
Start a new pipeline run on a Bitbucket Cloud repository branch, tag, or bookmark to automate build, test, and deployment workflows.
Instructions
Trigger a new pipeline run on a branch, tag, or bookmark.
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": {
"workspace": "<workspace>",
"repo_slug": "<repo_slug>",
"ref_type": "<ref_type>",
"ref_name": "<ref_name>"
},
"name": "trigger_pipeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | Yes | The workspace slug | |
| repo_slug | Yes | The repository slug | |
| ref_type | Yes | Reference type | |
| ref_name | Yes | Reference name (branch/tag name) | |
| variables | No | Pipeline variables |