merge_pr
Merge a GitHub pull request by specifying owner, repo, and PR number. Choose merge method and commit details.
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": {
"owner": "<owner>",
"repo": "<repo>",
"pr_number": "<pr_number>"
},
"name": "merge_pr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name | |
| owner | Yes | Repository owner (username or org) | |
| pr_number | Yes | Pull request number | |
| commit_title | No | Title for the merge commit (optional) | |
| merge_method | No | Merge method to use | merge |
| commit_message | No | Message for the merge commit (optional) |