github_create_pull_request
Creates a new Pull Request in a specified GitHub repository, enabling you to propose and merge code changes from a head branch into a base branch.
Instructions
創建新的 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": {
"repository": "<repository>",
"title": "<title>",
"head": "<head>",
"base": "<base>"
},
"name": "github_create_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | 目標分支名稱 | |
| body | No | Pull Request 描述 | |
| head | Yes | 源分支名稱 | |
| draft | No | 是否為草稿 | |
| title | Yes | Pull Request 標題 | |
| repository | Yes | 倉庫標識 (格式: owner/repo) |