move_note
Move or rename Obsidian notes while automatically updating [[wikilinks]] and Markdown relative links; ambiguous links are reported, and existing targets are not overwritten.
Instructions
移动或重命名 Obsidian vault 中的笔记,并自动更新 vault 内指向该笔记的 [[wikilink]] 与 Markdown 相对链接(无法唯一解析的歧义链接保持原样并在结果中报告);被移动笔记自身的相对链接也会重新指向正确位置。目标已存在时报错且不覆盖;目标父目录不存在时自动创建。
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": {
"from": "<from>",
"to": "<to>"
},
"name": "move_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | 目标路径(vault 内 POSIX 风格相对路径,需以 .md 结尾);同目录即重命名,跨目录即移动;目标父目录不存在时自动创建 | |
| from | Yes | 源笔记路径(vault 内 POSIX 风格相对路径,需以 .md 结尾) | |
| if_match | No | 乐观锁:传入上次 read_note 返回的 etag,与源笔记当前内容不符时拒绝移动 |