merge_pull_request
Merge a pull request for a branch, select a merge strategy (squash, merge, rebase), and optionally delete the branch after merging.
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": {
"branchName": "<branchName>"
},
"name": "merge_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branchName | Yes | Branch to merge | |
| mergeStrategy | No | Merge strategy | |
| deleteAfterMerge | No | Delete branch after merge |