Compare refs
compare_refsCompare two branches, tags or commits: ahead/behind counts, commits and the file diff from base to head.
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>",
"base": "<base>",
"head": "<head>"
},
"name": "compare_refs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | ||
| head | Yes | ||
| repo | Yes | Repository slug. | |
| owner | Yes | Namespace that owns the repository (user or organization handle). |