create_pull_request
Create a pull request on GitHub between branches in a repository. Specify owner, repo, title, head, and base; optionally include body or mark as draft.
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": "create_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | ||
| body | No | ||
| head | Yes | ||
| repo | Yes | ||
| draft | No | ||
| owner | Yes | ||
| title | Yes |