read_vault
Retrieve a Markdown vault note by UID, absolute path, or relative path, or fetch its historical version at a given commit, including notes changed, renamed, or deleted.
Instructions
Read a vault file. Accepts an 8-character hex UID (e.g. "0b74b77c"), an absolute path, or a path relative to vault_root (e.g. "my-note--0b74b77c.md"). Prefer passing the UID when you have it — the path will be resolved automatically.
With commit (a hash from history_vault), returns the file as it was right
after that commit — also for a node that has since been changed or deleted.
For a deleted node, pass the hash of the commit that deleted it with "1"
added (e.g. "a1b2c3d1") to get the last version before the deletion.
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>"
},
"name": "read_vault"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| commit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |