Gitea: Compare
gitea_compareCompare two commits, branches, or tags in a Gitea repository to retrieve commits and file diffs between a base and head reference.
Instructions
[UNIFIED] Compare two commits / branches / tags in a Gitea repository. Returns commits + file diffs between base and head (the Gitea compare endpoint).
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": {
"site": "<site>",
"owner": "<owner>",
"repo": "<repo>",
"base": "<base>",
"head": "<head>"
},
"name": "gitea_compare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | ||
| head | Yes | ||
| repo | Yes | ||
| site | Yes | ||
| owner | Yes |