Merge a pull request
gh_pull_mergeMerge a pull request (method squash by default, or merge or rebase); delete_branch removes its branch afterwards. Merging into the main branch of a repository AskYourStack did not create needs the "change anything" mode: otherwise leave the merge to the user.
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>",
"number": "<number>"
},
"name": "gh_pull_merge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | owner/name, like shopwhizzy/client-shop (or a GitHub address). | |
| title | No | ||
| method | No | ||
| number | Yes | ||
| delete_branch | No |