approve_pull_request
Approve a pull request in Bitbucket by providing the repository 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": {
"repository": "<repository>",
"pull_request_id": "<pull_request_id>"
},
"name": "approve_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repository | Yes | Repository slug (e.g. "my-repo") | |
| pull_request_id | Yes | Pull request ID |