decline_pr
Close a pull request without merging it in Bitbucket. Use this tool to reject pull requests that should not be integrated into the codebase.
Instructions
Decline (close without merging) a pull request.
Args:
repo_slug: Repository slug
pr_id: Pull request ID
Returns:
Declined PR info
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": {
"repo_slug": "<repo_slug>",
"pr_id": "<pr_id>"
},
"name": "decline_pr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr_id | Yes | ||
| repo_slug | Yes |