update_pr
Update an existing GitHub pull request by changing only the fields you supply—title, body, base branch, or state—while preserving the others. Avoid resubmitting unchanged details.
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.
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 | |
| pr_number | Yes | ||
| repo_name | Yes | ||
| repo_owner | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | ||
| title | Yes | ||
| author | Yes | ||
| created_at | Yes | ||
| updated_at | Yes | ||
| description | Yes |