move_note
Move or rename a note to a new vault path and update all wikilinks and markdown links automatically, avoiding broken references. Creates parent directories as needed.
Instructions
Move or rename a note to a new vault-relative path, rewriting wikilinks and markdown links in other notes that point at it so nothing breaks (links inside fenced code blocks are left alone). Parent directories at the destination are created automatically. Fails if the destination already exists unless overwrite is true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Vault-relative destination path. | |
| from | Yes | Vault-relative source path. | |
| prevHash | No | Optional compare-and-swap guard on the source note: the contentHash from a prior read. Fails with hash_conflict if the note changed since. | |
| overwrite | No | Overwrite destination if it exists. Defaults to false. | |
| rewriteLinks | No | Rewrite references in other notes to follow the move. Defaults to true; pass false to move the file only. |