create_pr
Create a pull request on GitHub by providing repository owner, name, title, and head branch, with optional base and description.
Instructions
Create a 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>"
},
"name": "create_pr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Branch to merge into | main |
| body | No | Pull request description | |
| head | Yes | Branch containing changes | |
| repo | Yes | Repository name | |
| owner | Yes | Repository owner (username or org) | |
| title | Yes | Pull request title |