gh_pr_merge
Merge a pull request by its number using merge, squash, or rebase to apply changes to the target branch.
Instructions
Merge a 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": {
"number": "<number>"
},
"name": "gh_pr_merge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | merge | |
| number | Yes |