git-diff
tool-definition · v1.0.0
Show changes between commits, branches, or working tree. Read-only.
Tool signature
function git_diff(base: string?, head: string?, paths: array?) → string Run `git diff` and return the unified diff.
Parameters
base(string) — Base ref (commit, branch, tag).head(string) — Head ref (default: HEAD).paths(array) — Limit diff to these paths.
Side effects
fs-readexec