Create Pull Request
bitbucket_create_pull_requestCreates a pull request from a source branch to a target branch. Optionally adds a description and reviewers.
Instructions
Create a new pull request.
Creates a PR from from_ref branch to to_ref branch. Optionally add
a description and reviewers.
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": {
"project_key": "<project_key>",
"repository_slug": "<repository_slug>",
"title": "<title>",
"from_ref": "<from_ref>",
"to_ref": "<to_ref>"
},
"name": "bitbucket_create_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | PR title | |
| to_ref | Yes | Target branch (e.g. 'main' or 'develop') | |
| from_ref | Yes | Source branch (e.g. 'feature/my-branch') | |
| reviewers | No | List of reviewer usernames to add | |
| description | No | PR description (supports Markdown) | |
| project_key | Yes | The project key | |
| repository_slug | Yes | The repository slug |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |