declinePullRequest
Declines a Bitbucket pull request by repository and PR ID, with an optional reason message, so rejected changes can be closed without merging.
Instructions
Decline 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": "declinePullRequest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prId | Yes | ||
| message | No | Reason for declining | |
| repoSlug | Yes | ||
| projectKey | No |