merge_pull_request
Merge a pull request in a GitHub repository by specifying owner, repo, and pull number. Supports merge, squash, or rebase methods with custom commit titles and messages.
Instructions
Merge a pull request in a repository
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": {
"owner": "<owner>",
"repo": "<repo>",
"pull_number": "<pull_number>"
},
"name": "merge_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| owner | Yes | ||
| pull_number | Yes | ||
| commit_title | No | ||
| merge_method | No | The merge method to use. Default is 'merge'. | |
| commit_message | No |