Contents

GitHub Update Pull Request

GitHubUpdatePullRequestTool · Tools · Connections

Update a pull request's title, body, open or closed state, base branch, or whether maintainers can push to it. Null or omitted fields stay as they are, and an empty title or body is ignored. Labels, assignees, and milestone are github_update_issue. Closing does not merge; use github_merge_pull_request.

Parameters

NameTypeRequiredDescription
basestringNoNew base branch.
bodystringNoNew body; null or empty keeps it.
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.
pull_numberintegerYesPull request number.
repostringYesRepository name, without the owner.
stateanyNoopen or closed. Closing does not merge.
titlestringNoNew title; null or empty keeps it.