decline_pull_request
Decline or close a Bitbucket Cloud pull request without merging it, optionally providing a reason for the decision.
Instructions
Decline/close a Pull Request on Bitbucket Cloud without merging.
Args: repo_slug: Repository slug (name) pr_id: Pull Request ID to decline reason: Optional reason for declining (will be added as a comment) workspace: Bitbucket workspace (optional if configured)
Returns: Confirmation or error message
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_slug | Yes | ||
| pr_id | Yes | ||
| reason | No | ||
| workspace | No |