github_create_pull_request
Create a pull request to merge changes from a head branch into a base branch. Provide owner, repo, title, branch names, and optional body or draft setting.
Instructions
Create a new pull request
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 | The name of the branch you want changes pulled into | |
| body | No | Pull request description | |
| head | Yes | The name of the branch where your changes are | |
| repo | Yes | Repository name | |
| draft | No | Create as draft PR | |
| owner | Yes | Repository owner username | |
| title | Yes | Pull request title |