Move Markdown
move_markdownMove or rename .md files while preserving document identity, version history, and reviewer annotations. Automatically creates destination folders and prevents overwriting existing files.
Instructions
Move and/or rename a .md file: from_path -> to_path. Destination folders are auto-created (mkdir -p). The document KEEPS its identity (same document key), so its whole version history and reviewers' annotations survive the move — never re-save + delete to relocate a file. Fails if a different file already occupies to_path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_path | Yes | Target POSIX path (must end in .md). Same folder + new name = rename; new folder + same name = move; both may change at once. | |
| from_path | Yes | Current POSIX path of the .md file. |