update_pull_request
Modify an existing pull request by changing its title, body, base branch, state, or maintainer modification setting using the repository owner, name, and pull request number.
Instructions
Update an existing pull request
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 | Optional new name of the base branch to merge into | |
| body | No | Optional new body for the pull request | |
| repo | Yes | Repository name | |
| owner | Yes | Repository owner | |
| state | No | Optional new state of the pull request | |
| title | No | Optional new title for the pull request | |
| pull_number | Yes | Pull request number | |
| maintainer_can_modify | No | Optional flag to allow maintainers to modify the pull request |