trigger_pipeline
Trigger a Bitbucket pipeline run for a branch, optionally selecting a custom pipeline pattern. Provide workspace, repo, and branch name to execute.
Instructions
Trigger a pipeline run for a branch.
Args: branch: Branch name to run pipeline on custom_pattern: Custom pipeline name (optional, for custom pipelines in bitbucket-pipelines.yml) workspace: Workspace slug repo: Repository slug
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": {
"branch": "<branch>"
},
"name": "trigger_pipeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | ||
| branch | Yes | ||
| workspace | No | ||
| custom_pattern | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |