update_pr
Update a pull request's title, body, or open/closed state directly from the GitHub review workflow.
Instructions
Update PR title, description, or state
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"owner": "<owner>",
"repo": "<repo>",
"prNumber": "<prNumber>"
},
"name": "update_pr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | New PR description | |
| repo | Yes | Repository name | |
| owner | Yes | Repository owner/organization | |
| state | No | PR state | |
| title | No | New PR title | |
| prNumber | Yes | Pull request number |