Actions30
File → Move
AI-generatedSummary
Move or rename a file or directory inside an E2B sandbox by specifying the source and destination paths within that sandbox.
Inputs
- Sandbox ID (required) — ID of the sandbox to work with
- Source (required) — Source path inside the sandbox
- Destination (required) — Destination path inside the sandbox
- Timeout — Timeout in seconds for the E2B operation (default: 300 seconds)
Output shape
a single record containing the sandbox ID, source path, destination path, and metadata about the moved file after the operation completes
The operation returns file information of the moved file/directory, including its name, type, path, and optionally size, permissions, ownership, and modification time. Errors are thrown if the move fails.