create_pull_request
Propose code changes by creating pull requests in any GitHub repository. Define source and target branches, add a title and description, and mark as draft if needed.
Instructions
Create a pull request in a 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": "create_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | The name of the branch you want the changes pulled into. | |
| body | No | The contents of the pull request. | |
| head | Yes | The name of the branch where your changes are implemented. | |
| repo | Yes | ||
| draft | No | Indicates whether the pull request is a draft. | |
| owner | Yes | ||
| title | Yes |