github_pr_create
Open a GitHub pull request with the gh CLI by providing a title, description, and base branch, assuming the branch is already pushed and local approval is granted.
Instructions
Open a GitHub pull request using gh CLI. Requires local approval. Assumes branch has been pushed.
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>"
},
"name": "github_pr_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Base branch, e.g. main | main |
| body | Yes | PR description | |
| title | Yes | PR title |