create_pull_request
Initiate a code review by creating a pull request from a source branch to a target branch with a title and description.
Instructions
Open a new pull request from a head branch into a base branch
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 | Target branch to merge into | |
| body | No | Pull request description | |
| head | Yes | Source branch (the branch with your changes) | |
| repo | Yes | Repository name | |
| owner | Yes | Repository owner | |
| title | Yes | Pull request title |