merge_pull_request
Combine a pull request into its target branch by selecting a merge, rebase, squash, fast-forward-only, or manually merged method.
Instructions
Merge a pull request. method in merge/rebase/rebase-merge/squash/fast-forward-only/manually-merged.
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>",
"index": "<index>"
},
"name": "merge_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| index | Yes | ||
| owner | Yes | ||
| method | No | merge |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||