approvePullRequest
Approves a Bitbucket Data Center pull request by repository slug and pull request ID, enabling AI clients to complete code review workflows.
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": {
"repoSlug": "<repoSlug>",
"prId": "<prId>"
},
"name": "approvePullRequest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prId | Yes | ||
| repoSlug | Yes | ||
| projectKey | No |