createDraftPullRequest
Create a draft pull request on Bitbucket to share work-in-progress changes without requesting review.
Instructions
Create a draft 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": "createDraftPullRequest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | PR title | |
| repo_slug | No | ||
| workspace | No | ||
| description | No | PR description (markdown) | |
| source_branch | Yes | Source branch name | |
| destination_branch | No | Destination branch (default: repo main branch) |