merge_pull_request
Merge a pull request in a Forgejo or Gitea repository, specifying merge method, commit title, and message.
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>",
"index": "<index>"
},
"name": "merge_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Owner/username | |
| repo | Yes | Repository name | |
| index | Yes | Pull request number | |
| merge_method | No | Merge method: merge, rebase, rebase-merge, or squash | merge |
| message | No | Merge commit message | |
| title | No | Merge commit title |