What changed inside the file
xlide_git_changesReview VBA and Power Query changes in Office files before committing. Get unified diffs per module or query for any git revision, bypassing git's binary-file limitation.
Instructions
Lists what changed inside an Office file since a git revision, one entry per VBA module and Power Query, with a unified diff. git diff cannot show this: the file is binary, so a commit that changed one line and one that replaced the whole project look the same. Call this before committing, and to review what an agent or a colleague changed. Worksheet cell values are not compared. Defaults to HEAD; pass any revision git understands. Needs the file to be inside a git repository and tracked in that revision.
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": {
"file_path": "<file_path>"
},
"name": "xlide_git_changes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| section | No | Only this one, named as a module or a query is named. Empty reports every one. | |
| revision | No | Any revision git understands: HEAD, a branch, a tag, a SHA. | HEAD |
| file_path | Yes | Absolute path to the Office file. | |
| include_diff | No | Include the unified diff. Off gives just what changed and by how much. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||