create_pull_request
Create a pull request to merge source branch changes into a destination branch in a Bitbucket repository, enabling review and collaboration before merge.
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": {
"repo_slug": "<repo_slug>",
"title": "<title>",
"source_branch": "<source_branch>"
},
"name": "create_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | PR title | |
| repo_slug | Yes | Repository slug (name) | |
| description | No | PR description (optional) | |
| source_branch | Yes | Source branch name | |
| destination_branch | No | Destination branch name (default: main) | |
| close_source_branch | No | Close source branch after merge (default: false) |