approve_pull_request
Approve pull requests on Bitbucket Cloud to facilitate code review completion and merge readiness. Specify repository, pull request ID, and optional workspace.
Instructions
Approve a Pull Request on Bitbucket Cloud.
Args: repo_slug: Repository slug (name) pr_id: Pull Request ID to approve workspace: Bitbucket workspace (optional if configured)
Returns: Approval confirmation or error message
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_slug": "<repo_slug>",
"pr_id": "<pr_id>"
},
"name": "approve_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_slug | Yes | ||
| pr_id | Yes | ||
| workspace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||