vaultnotes
v0.1.0List, read, search, and edit markdown notes in a local vault directory.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_files_in_vault
List all files in the vault.
list_files_in_dir
List all files in a specific directory of the vault.
| Parameter | Type | Description |
|---|---|---|
dirpath * | string | Vault-relative path to the directory to list files under, recursively. |
get_file_contents
Get the contents of a file in the vault.
| Parameter | Type | Description |
|---|---|---|
filepath * | string | Vault-relative path to the file to read as UTF-8 text. |
search
Search for a query across the markdown files in the vault.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search text to match case-insensitively as a substring across the vault's markdown files. |
append_content
Append content to a file in the vault, creating the file if it does not exist.
| Parameter | Type | Description |
|---|---|---|
content * | string | Text content to append to the end of the file. |
filepath * | string | Vault-relative path to the file to append to, creating the file and any parent directories if it does not exist. |
patch_content
Replace the first occurrence of a target text in a vault file with new content.
| Parameter | Type | Description |
|---|---|---|
content * | string | Replacement text to substitute for the first occurrence of the target text. |
filepath * | string | Vault-relative path to the file to patch. |
target * | string | Exact target text to find in the file; only its first occurrence is replaced, and the patch fails if it is not present. |
delete_file
Delete a file from the vault.
| Parameter | Type | Description |
|---|---|---|
target_filepath * | string | Vault-relative path to the file to delete; directories are refused. |