history_vault
Lists the commits that changed a node, newest first, so you can trace missing content after a write and then diff or restore it. Accepts a UID, absolute path, or vault-relative path.
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.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| limit | No |