Create GitHub pull request
github_create_pull_requestCreate a ready-for-review pull request from a pushed feature branch into the base branch.
Instructions
Create a ready-for-review pull request from a pushed feature branch into the base branch.
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": {
"repoPath": "<repoPath>",
"title": "<title>",
"body": "<body>"
},
"name": "github_create_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Pull request body. | |
| title | Yes | Pull request title. | |
| repoPath | Yes | Path to a local repository inside the configured allowed roots. | |
| baseBranch | No | Target base branch. Defaults to main. | |
| headBranch | No | Feature branch. Defaults to current branch. |