Contents

GitHub Create Pull Request

GitHubCreatePullRequestTool · Tools · Connections

Open a pull request between two existing branches. This does not commit code or edit files.

Parameters

NameTypeRequiredDescription
basestringYesBranch to merge into.
bodystringNoPull request body.
draftbooleanNoOpen as a draft.
headstringYesBranch with the changes.
maintainer_can_modifybooleanNoWhether maintainers can push to the head branch.
ownerstringNoRepository owner. Defaults to the connection's installation account or OAuth user; give it for organization or collaborator repositories.
repostringYesRepository name, without the owner.
titlestringYesPull request title.