rename_note
Renames a note to a new title, updating the heading and rewriting wiki-links throughout the vault while preserving aliases and headings. Fails if the target name already exists.
Instructions
Rename a note to a new title. The file becomes slugify(new_title).md in the same directory, the first H1 heading is set to the new title, and [[wiki-links]] to the old name anywhere in the vault are rewritten to the new one (|alias and #heading forms preserved). Fails if a note with the target name already exists. Returns old_path, path, links_rewritten.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_title | Yes | ||
| name_or_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||