update_pull_request
Update a pull request's title, body, or open/closed state directly, providing a clear solution for modifying pull request details without merging capabilities.
Instructions
Update a pull request title, body, or reversible open/closed state. This cannot merge a 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": {
"account": "<account>",
"repository": "<repository>",
"pullRequestNumber": "<pullRequestNumber>"
},
"name": "update_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| state | No | ||
| title | No | ||
| account | Yes | ||
| hostname | No | ||
| repository | Yes | Repository in owner/name format | |
| pullRequestNumber | Yes |