Open a pull request
gh_pull_createOpen a pull request from head (a branch) into base (default the main branch), with a title and a description of what changed and why.
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": "gh_pull_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | ||
| body | No | ||
| head | Yes | ||
| repo | Yes | owner/name, like shopwhizzy/client-shop (or a GitHub address). | |
| draft | No | ||
| title | Yes |