move_note
Move or rename an existing note by copying to a new path and deleting the source, with cleanup on failure. Rejects missing sources or existing destinations and can verify source SHA-256.
Instructions
Move/rename a note via copy+delete (not atomic): the destination is written atomically, then the source is unlinked, and a partial destination is cleaned up on failure. Errors if src is missing or dst exists. Honors expected_sha256 against src. Refreshes updated:.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vault | Yes | Vault name | |
| dst_path | Yes | New note path (must not exist) | |
| src_path | Yes | Existing note path | |
| expected_sha256 | No | SHA-256 of src from a prior read; rejects stale moves |