compare_branches
Compare two branches, tags, or commits in a GitLab project by specifying base and target references, with optional straight comparison.
Instructions
Compare two branches, tags, or commits
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "compare_branches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Target branch/tag/commit SHA | |
| from | No | Base branch/tag/commit SHA | |
| straight | No | Use straight comparison | |
| project_id | No | Project ID or URL-encoded path |