complete_pull_request
Merge a pull request with configurable merge strategy, branch deletion, and policy bypass options.
Instructions
Complete (merge) a PR with configurable merge strategy.
Args: pr_url_or_id: A full PR URL or numeric PR ID. merge_strategy: One of: squash, noFastForward, rebase, rebaseMerge. delete_source_branch: Whether to delete the source branch after merge. transition_work_items: Whether to transition linked work items. merge_commit_message: Optional merge commit message. bypass_policy: Whether to bypass branch policies. bypass_reason: Required when bypass_policy is True. working_directory: Optional path for context resolution.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr_url_or_id | Yes | ||
| merge_strategy | No | squash | |
| delete_source_branch | No | ||
| transition_work_items | No | ||
| merge_commit_message | No | ||
| bypass_policy | No | ||
| bypass_reason | No | ||
| working_directory | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |