update_pull_request
Modify an open or closed pull request on GitHub by changing its title, body, state, or base branch. Update PR details programmatically.
Instructions
Update an existing pull request (title, body, state, base)
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>",
"pull_number": "<pull_number>"
},
"name": "update_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | ||
| body | No | ||
| repo | Yes | ||
| owner | Yes | ||
| state | No | ||
| title | No | ||
| pull_number | Yes |