github_create_pr_draft
Draft a GitHub Pull Request proposal. Does NOT open or publish the PR without explicit user approval.
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>",
"head": "<head>",
"body": "<body>"
},
"name": "github_create_pr_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Target base branch (default: "main"). | main |
| body | Yes | Detailed PR description and change summary. | |
| head | Yes | Feature or working branch name. | |
| repo | Yes | Repository in format "owner/repo". | |
| title | Yes | Pull request title. |