create_pull_request
Create a pull request from a source branch to a target branch in Azure DevOps. Optionally add a title, description, draft mode, and link work items.
Instructions
Create a new pull request via the Azure DevOps SDK.
Constructs a PR from branch names with optional title, description, and draft mode.
Args: source_branch: Source branch name (with or without refs/heads/). target_branch: Target branch name. Defaults to "main". title: Optional PR title. description: Optional PR description. is_draft: Whether to create as a draft PR. working_directory: Optional path for context resolution. work_item_ids: Optional list of work item IDs to link to the PR.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_branch | Yes | ||
| target_branch | No | main | |
| title | No | ||
| description | No | ||
| is_draft | No | ||
| working_directory | No | ||
| work_item_ids | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |