edit_pull_request
Update pull request details: title, description, state, base branch, assignees, labels, or milestone.
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>",
"index": "<index>"
},
"name": "edit_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Owner/username | |
| repo | Yes | Repository name | |
| index | Yes | Pull request number | |
| title | No | New title | |
| body | No | New description | |
| state | No | ||
| base | No | New target branch | |
| assignees | No | Assignee usernames | |
| labels | No | Label IDs | |
| milestone | No | Milestone ID |