Get Branch Diffs
gitlab_get_branch_diffsCompare two GitLab branches or refs and return their diffs, optionally excluding files by pattern. Use it to inspect changes between branches before merging.
Instructions
Compare two branches/refs and return diffs.
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": {
"from": "<from>",
"to": "<to>"
},
"name": "gitlab_get_branch_diffs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from | Yes | ||
| straight | No | ||
| project_id | No | ||
| excluded_file_patterns | No |