github_create_pr
[WRITE] Open a pull request from a branch into the default branch (or another base). Requires confirm:true.
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": {
"repo": "<repo>",
"head": "<head>",
"title": "<title>"
},
"name": "github_create_pr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Branch to merge into (optional; default branch) | |
| body | No | Description, Markdown (optional) | |
| head | Yes | Branch with the changes | |
| repo | Yes | Repository as owner/name, e.g. "octocat/hello-world" (a github.com URL works too) | |
| draft | No | Open as a draft (optional) | |
| title | Yes | Pull request title | |
| confirm | No | Must be true to actually do this on GitHub. Omit/false to refuse (safety gate). |