git_diff
Show unified diffs for a place's mirror repo to compare uncommitted changes, a commit against working files, or two commits, optionally limited to one file.
Instructions
Show a unified diff in a place's mirror repo. Read-only. With no refs it shows uncommitted changes; with from it compares that commit to the working files; with from and to it compares two commits. For a commit's summary use git_show; for which files changed use git_status.
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": "git_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Ending commit or ref, e.g. "HEAD". Only used together with from. | |
| from | No | Starting commit or ref, e.g. "HEAD~1" or a hash. Omit to diff uncommitted changes against HEAD. | |
| path | No | Limit the diff to one file. File path relative to the mirror folder, as git_status or git_log prints it, e.g. "ServerScriptService/Main.server.luau". | |
| place | No | Target place (PlaceId or project name) whose mirror repo to use. Defaults to the bound/sole connected place. |