Move or rename
move_pathMove or rename a file or folder in the Obsidian vault, creating missing parent folders. Fails if the destination exists, or if a file's new name doesn't end in .md, .canvas or .base, the only types Obsidian Sync syncs here. By default rewrites links that would stop resolving or resolve to a different file, keeping each link's style. Links in code and in .canvas files aren't rewritten. Fails if a name in the destination contains # | ^ [ or ], or differs only by case from an existing file or folder. Use dry_run to preview a large move. Returns once Obsidian Sync has the move and the rewritten notes, or after about 35s with uploaded false.
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": {
"source": "<source>",
"destination": "<destination>"
},
"name": "move_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | vault-relative path of the file or folder to move, as returned by list_files or search_notes, or an obsidian:// URL for a file in this vault | |
| dry_run | No | report the move and the link changes without making them | |
| destination | Yes | new vault-relative path, including the name, for example Archive/2026/Plan.md; rename by changing only the name | |
| update_links | No | rewrite wikilinks, embeds and markdown links, including in the moved notes, so they still resolve to the same files; default true |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | vault-relative path that was moved | |
| dry_run | Yes | whether nothing was changed | |
| uploaded | Yes | whether ob confirmed the upload of the move and every rewritten note to Obsidian Sync; if false the change is saved and still queued for upload. False with dry_run | |
| destination | Yes | vault-relative path it was moved to | |
| moved_files | Yes | number of files moved; 1 for a file | |
| links_failed | Yes | vault-relative paths, after the move, of notes whose links couldn't be rewritten | |
| links_updated | Yes | notes whose links were rewritten, or would be with dry_run |