Approve a pull request
approve_pull_requestApprove a pull request by recording the authenticated user's approval in Bitbucket.
Instructions
WRITE — records the authenticated user's approval on the PR.
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": {
"repo": "<repo>",
"id": "<id>"
},
"name": "approve_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Pull request number. | |
| repo | Yes | Repository repo_slug. | |
| workspace | No | Bitbucket workspace. Omit to use BITBUCKET_WORKSPACE. |