Get Vault Commit Detail
vault_get_commitRetrieve detailed commit information by SHA: message, author, stats, and per-file changes. Choose markdown or JSON format.
Instructions
Get full detail for a single commit in canonical-vault: message, author, stats, and the list of files it changed (with per-file diff stats).
Args:
sha (string): Full or abbreviated commit SHA (get one from vault_get_file_history)
response_format ('markdown' | 'json'): Output format (default: 'markdown')
Returns: For JSON format: { "sha": string, "message": string, "author": string, "date": string, "stats": {...}, "files": [{ "filename": string, "status": string, "additions": number, "deletions": number }] }
Examples:
Use when: "What exactly changed in commit a1b2c3d?" -> sha="a1b2c3d"
Don't use when: You just want the commit list for a path (use vault_get_file_history instead)
Error Handling:
Returns "Error: ... not found" if the SHA doesn't exist in this repo
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha | Yes | Full or abbreviated commit SHA | |
| response_format | No | Output format: 'markdown' for human-readable or 'json' for machine-readable | markdown |