decline_pull_request
Decline or close a pull request without merging it in Bitbucket Cloud repositories. Use this tool to reject changes that don't meet requirements or need revision.
Instructions
Decline/close a pull request without merging.
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>",
"pr_id": "<pr_id>"
},
"name": "decline_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | Yes | The workspace slug | |
| repo_slug | Yes | The repository slug | |
| pr_id | Yes | The pull request ID |