AI makes mistakes! Undisk makes recovery instant: every write is versioned, every file is reversible.
See it heal →

What it does

Move or rename a file or directory. Both source and destination paths are tracked in version history, preserving the full audit trail. Set recursive: true to move all files under a directory path to a new location.

Required scope

files:write

Parameters

ParameterTypeRequiredDescription
from_pathstringYesCurrent file or directory path (e.g., ‘drafts/proposal.md’ or ‘drafts/v1’)
to_pathstringYesNew file or directory path (e.g., ‘final/proposal.md’ or ‘final/v1’)
recursivebooleanNoIf true, moves all files under from_path to to_path, preserving relative structure. Each file gets its own move version record. Default: false (single file move).