create_pr
Create a pull request in a GitHub repository by specifying repo, title, description, source branch, and target branch.
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": {
"repo": "<repo>",
"title": "<title>",
"body": "<body>",
"head": "<head>",
"base": "<base>"
},
"name": "create_pr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository in 'owner/repo' format. | |
| title | Yes | PR title. | |
| body | Yes | PR description. | |
| head | Yes | Source branch name. | |
| base | Yes | Target branch name (e.g. 'main'). | |
| dry_run | No | If True, preview the operation without executing. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |