Rename Note
renameMove a note or attachment to a new path and rewrite links in other notes so references follow; missing parent folders are created automatically.
Instructions
Rename or move a note or attachment; with update_links, links to it in other notes follow it.
For a note, always pass update_links=True. Parent folders are created as needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| if_match | No | Etag from read of old_path; still accepted when the only changes since are link rewrites the server made. | |
| new_path | Yes | New path, such as `"projects/idea.md"`, where nothing exists yet. | |
| old_path | Yes | Current path, such as `"drafts/idea.md"` or `"assets/old.png"`. | |
| update_links | No | Rewrite links to old_path in other notes so they point at new_path; attachment references are not tracked. Default false; pass true for every note. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||