mv
Move or rename files and directories, creating parent directories automatically. Supports persistent storage across sessions.
Instructions
Move or rename a file or directory. Moves all descendants when moving a directory. Parent directories at the destination are created automatically. Errors: ENOENT if source doesn't exist, EEXIST if destination already exists, EINVAL if moving root or moving a directory into itself.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Absolute path of the file or directory to move | |
| destination | Yes | Absolute path of the new location | |
| store | No | Named persistent store for cross-session access. Sessions are ephemeral (one per MCP connection); named stores persist indefinitely. Omit to use the session's own namespace. |