Rename Note
renameMove a note or attachment to a new path in a Markdown vault and optionally update links in other notes so references follow it.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"old_path": "<old_path>",
"new_path": "<new_path>"
},
"name": "rename"
}
}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. The moved note's own links may change; read new_path for its current etag before a guarded write. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||