Note Diff
get_diffShow how a note or attachment changed since a commit or timestamp as a unified diff, or one diff per commit.
Instructions
Return how a note or attachment changed from an earlier commit to now, as one unified diff or one per commit.
Pass exactly one of since_sha and since_timestamp; find commits with get_history. A vault without git history returns an empty diff.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | A note or attachment path, such as `"notes/alpha.md"`; a binary attachment returns a summary of size and renames instead of a patch. | |
| limit | No | With per_commit, how many of the most recent commits to include, 1 to 100; omit for all. | |
| since_sha | No | A commit SHA to diff from, such as from get_history; at least 4 hex digits. | |
| per_commit | No | True for one diff per commit since the starting point, newest first; default false for a single diff. | |
| since_timestamp | No | An ISO 8601 time; diffs from the latest commit at or before it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||