update_pull_request
Update a pull request's title, description, target branch, or reviewers. Only changed fields are applied; existing reviewers are preserved unless new list is given.
Instructions
Update a pull request (title, description, target branch, or reviewers). Only changed fields are applied; reviewers are preserved if not provided.
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>",
"prId": "<prId>"
},
"name": "update_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prId | Yes | Pull request ID. | |
| title | No | New title. | |
| project | No | Project key. Defaults to BITBUCKET_DEFAULT_PROJECT. | |
| reviewers | No | Replace reviewer list with these usernames. | |
| repository | Yes | Repository slug. | |
| description | No | New description. | |
| targetBranch | No | New target branch. |