Show diff (side-by-side image)
show_diffRender a side-by-side git diff as an inline image, providing a visual comparison of uncommitted changes or a specific checkpoint.
Instructions
Render a side-by-side git diff as an image, shown inline in the conversation. Use this when the user asks to SEE a diff visually — it returns a picture, not a text summary. Defaults to current uncommitted changes; pass a checkpoint sha for a specific saved version.
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": "show_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checkpoint | No | A checkpoint commit sha (from the preview History panel) to diff. Omit to show the current uncommitted changes vs the last commit. |