update_pr
Update a pull request's title, body, base branch, or state. Only provided fields are changed; merged PRs cannot be updated.
Instructions
Update PR metadata. Only provided fields are updated; None values ignored.
Optional updates:
title: new PR title
body: new PR description
base: change base branch
state: "open" or "closed"
Returns: {number, title, state, updated_fields, url}
Note: Cannot update merged PRs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr_number | Yes | ||
| title | No | ||
| body | No | ||
| base | No | ||
| state | No | ||
| owner | No | ||
| repo | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||