createPullRequest
Create a Bitbucket pull request with required title and source branch; optional reviewers, description, destination branch.
Instructions
Create a new pull request
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": {
"title": "<title>",
"source_branch": "<source_branch>"
},
"name": "createPullRequest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | PR title | |
| repo_slug | No | ||
| reviewers | No | Array of reviewer account UUIDs | |
| workspace | No | ||
| description | No | PR description (markdown) | |
| source_branch | Yes | Source branch name | |
| destination_branch | No | Destination branch (default: repo main branch) | |
| close_source_branch | No | Close source branch on merge |