Github Update Pr
github_update_prUpdate an existing pull request by changing its title, body, base branch, state, or labels. Only specified fields are modified; others keep their current values.
Instructions
Updates an existing pull request. Only the fields supplied are sent, the rest keep their current values, so a title can change without restating the body. Labels take a second call, since the pull request payload carries none.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Branch to retarget the pull request onto | |
| body | No | Replacement body in Markdown. Omit to leave the current body alone | |
| state | No | Omit to leave the state alone | |
| title | No | Replacement title. Omit to leave the current title alone | |
| labels | No | Replacement label set. Omit to keep the current labels, pass [] to strip them all. The 'mcp' tracking label is not re-added here | |
| pr_number | Yes | ||
| repo_name | Yes | ||
| repo_owner | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | ||
| title | Yes | ||
| author | Yes | ||
| base_ref | Yes | ||
| head_ref | Yes | ||
| head_sha | Yes | ||
| created_at | Yes | ||
| updated_at | Yes | ||
| description | Yes | ||
| requested_teams | Yes | ||
| requested_reviewers | Yes |