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
| Name | Type | Required | Description |
|---|---|---|---|
base | string | No | New base branch. |
body | string | No | New body; null or empty keeps it. |
maintainer_can_modify | boolean | No | Whether maintainers can push to the head branch. |
owner | string | No | Repository owner. Defaults to the connection's installation account or OAuth user; give it for organization or collaborator repositories. |
pull_number | integer | Yes | Pull request number. |
repo | string | Yes | Repository name, without the owner. |
state | any | No | open or closed. Closing does not merge. |
title | string | No | New title; null or empty keeps it. |