create_pull_request
Open a new GitHub pull request to merge code changes. Define repository, source branch, target branch, plus optional title, markdown body, and draft flag to initiate code review.
Instructions
Create a pull request.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Branch to merge into (defaults to the repository's default branch). | |
| body | No | PR body in Markdown (optional). | |
| head | Yes | Branch containing the changes ("branch", or "owner:branch" for forks). | |
| repo | Yes | Repository as "owner/repo". | |
| draft | No | Create as a draft PR (default false). | |
| title | Yes | PR title. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |