bb_create_pull_request
Create a pull request from a source to a destination branch, optionally assign a reviewer, and receive the new PR's ID to facilitate code review.
Instructions
Create a new PR from a source branch to a destination branch. 'reviewer' is optional (username). Returns the created PR with its id.
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": {
"projectKey": "<projectKey>",
"repoSlug": "<repoSlug>",
"title": "<title>",
"fromBranch": "<fromBranch>",
"toBranch": "<toBranch>"
},
"name": "bb_create_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| repoSlug | Yes | ||
| reviewer | No | Optional reviewer username | |
| toBranch | Yes | Destination branch name (e.g. 'master') | |
| fromBranch | Yes | Source branch name (e.g. 'feature/login') | |
| projectKey | Yes | ||
| description | No |