diff_vault
Show how a single commit changed a note as a unified diff, with removed and added lines. Use a commit hash and note path, including paths from before renames.
Instructions
Show the change one commit made to a node, as a unified diff: lines starting with "-" were removed, "+" were added. Get the commit hash from history_vault. Returns {diff} or {error}. A commit from before a rename still works: the note is found at its old path.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>",
"commit": "<commit>"
},
"name": "diff_vault"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| commit | Yes |