create_pull_request
Create a pull request in Bitbucket by selecting source and destination branches, with title, description, and reviewers for code review.
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": {
"repository": "<repository>",
"title": "<title>",
"source_branch": "<source_branch>"
},
"name": "create_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Pull request title | |
| reviewers | No | Reviewer usernames | |
| repository | Yes | Repository slug (e.g. "my-repo") | |
| description | No | Pull request description | |
| source_branch | Yes | Source branch | |
| destination_branch | No | Destination branch | main |