create_pull_request
Submit a pull request to GitHub with title, body, and source branch. Optionally specify target branch (default main) or mark as draft.
Instructions
Create a pull request on GitHub
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": {
"title": "<title>",
"body": "<body>",
"sourceBranch": "<sourceBranch>"
},
"name": "create_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | PR description | |
| draft | No | Create as draft PR | |
| title | Yes | PR title | |
| sourceBranch | Yes | Source branch | |
| targetBranch | No | Target branch (default: main) |