Manage Pull Requests
manage_prsCreate, retrieve, list, update, and merge GitHub pull requests, and list or create PR reviews to support pull request workflows through a single action-based interface.
Instructions
Manage Pull Requests: create, get, list, update, merge PRs; list and create reviews. Use the action field to select the operation.
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": {
"action": "<action>"
},
"name": "manage_prs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | ||
| body | No | ||
| head | No | ||
| draft | No | ||
| event | No | ||
| state | No | ||
| title | No | ||
| action | Yes | The pull request operation to perform | |
| perPage | No | ||
| comments | No | ||
| pullNumber | No | ||
| commitTitle | No | ||
| mergeMethod | No | ||
| commitMessage | No |