retarget_pull_request
Change the target branch of an existing pull request to redirect it to a specified branch, ensuring the PR aligns with updated project workflows.
Instructions
Change the target branch of an existing PR.
Args: pr_url_or_id: A full PR URL or numeric PR ID. target_branch: New target branch name. working_directory: Optional path for context resolution.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr_url_or_id | Yes | ||
| target_branch | Yes | ||
| working_directory | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |