Skip to content

Diff & Comparison

2 tools for comparing commits using unified diffs and per-file statistics.


Get a unified diff between two commits or refs — shows all changes as a standard patch format.

ParameterRequiredDescription
workspaceWorkspace slug
repo_slugRepository slug
specDiff spec — two commit SHAs joined with .. (e.g., abc123..def456)

Example prompt:

“Show the diff between commits abc123 and def456”


Get per-file change statistics between two commits — shows lines added/removed and the type of change for each file (added, modified, removed).

ParameterRequiredDescription
workspaceWorkspace slug
repo_slugRepository slug
specDiff spec — two commit SHAs joined with .. (e.g., abc123..def456)

Example prompt:

“How many files changed between abc123 and def456?”