bb_pr_approve
Approve a Bitbucket pull request as the authenticated user, making your approval visible to the team. Call only when the user explicitly asks for approval.
Instructions
Approve a pull request as the authenticated user. This is visible to the team - only call it when the user has asked for an approval.
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": {
"pr_id": "<pr_id>"
},
"name": "bb_pr_approve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr_id | Yes | Pull request ID | |
| repo_slug | No | Repository slug/name; defaults to the repo detected from the current directory's git remote | |
| workspace | No | Bitbucket workspace |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |