updatePullRequest
Modify a Bitbucket pull request's title or description by specifying the repository, pull request ID, and new values.
Instructions
Update a pull request (title, description)
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": {
"repoSlug": "<repoSlug>",
"pullRequestId": "<pullRequestId>"
},
"name": "updatePullRequest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | New pull request title | |
| repoSlug | Yes | Repository slug | |
| workspace | No | Bitbucket workspace name | |
| description | No | New pull request description | |
| pullRequestId | Yes | Pull request ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Tool-specific result payload | |
| status | Yes | Whether the tool call succeeded | |
| message | Yes | Human-readable status message |