history_vault
Retrieve a node's commit history newest first to trace edits, moves, renames, or deletion, so you can identify what changed and restore an earlier version.
Instructions
List the commits that changed a node, newest first: {commits: [{commit, author, date, subject}]}. Every vault write is one commit.
Accepts a UID, absolute path or vault-relative path. A UID also works for a node that was deleted: history finds the file it last lived in. A node that was renamed or moved shows the commits of every path it had, also when you pass an old path. A commit "Renamed: old.md → new.md" marks the move.
Use this to find what happened to a node — for example when content is missing after a write — then diff_vault to see the change and restore_vault to undo it.
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>"
},
"name": "history_vault"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| limit | No |