approvePullRequest
Approve a pull request in a Bitbucket repository by providing workspace, repo slug, and pull request ID.
Instructions
Approve a pull request
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": {
"workspace": "<workspace>",
"repo_slug": "<repo_slug>",
"pull_request_id": "<pull_request_id>"
},
"name": "approvePullRequest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | When true (and no page is provided), automatically follows Bitbucket next links to return all items up to 1000. | |
| page | No | Bitbucket page number to fetch (1-based). | |
| pagelen | No | Number of items per page (Bitbucket pagelen). Defaults to 10 and caps at 100. | |
| repo_slug | Yes | Repository slug | |
| workspace | Yes | Bitbucket workspace name | |
| pull_request_id | Yes | Pull request ID |