GitHub Create Pull Request
github_create_pull_requestOpen a pull request on a GitHub repository by specifying the owner, repo, title, source branch, and target branch.
Instructions
Opens a pull request on a GitHub repository
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": {
"owner": "<owner>",
"repo": "<repo>",
"title": "<title>",
"head": "<head>",
"base": "<base>"
},
"name": "github_create_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | Branch to merge into (e.g. main) | |
| body | No | ||
| head | Yes | Branch to merge from | |
| repo | Yes | ||
| owner | Yes | ||
| title | Yes |