manage_pull_requests
Perform pull request operations including listing, creating, updating, merging, approving, and reviewing changes in Bitbucket repositories.
Instructions
Unified tool covering all pull request operations (list, get, create, update, merge, approve, unapprove, decline, diff, diffstat, commits)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform: 'list', 'get', 'create', 'update', 'merge', 'approve', 'unapprove', 'decline', 'get-diff', 'get-diffstat', 'get-commits' | |
| workspace | Yes | Workspace slug | |
| repo_slug | Yes | Repository slug | |
| pr_id | No | Pull request ID | |
| title | No | Title of the pull request (for 'create', 'update') | |
| description | No | Description of the pull request (for 'create', 'update') | |
| source_branch | No | Source branch name (for 'create') | |
| destination_branch | No | Destination branch name (for 'create') | |
| close_source_branch | No | Close source branch (for 'create', 'merge') | |
| draft | No | Create as a draft PR (for 'create') | |
| message | No | Commit message (for 'merge') | |
| merge_strategy | No | Merge strategy (e.g. merge_commit, squash, fast_forward) (for 'merge') | |
| state | No | Filter by state (MERGED, SUPERSEDED, OPEN, DECLINED) (for 'list') | |
| query | No | Filter query (for 'list') | |
| page | No | Page number | |
| pagelen | No | Results per page |