create_pull_request
Create a pull request on a GitHub repository by specifying the repository, head branch, title, body, and 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": {
"repo_input": "<repo_input>",
"head_branch": "<head_branch>",
"title": "<title>",
"body": "<body>"
},
"name": "create_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_input | Yes | ||
| head_branch | Yes | ||
| title | Yes | ||
| body | Yes | ||
| base | No | main |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |