sandbox_file_rename
Rename or move a file or directory inside an E2B sandbox by providing the current and new absolute paths.
Instructions
Rename or move a file or directory in a sandbox.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sandboxId | Yes | The sandbox ID. | |
| oldPath | Yes | Current absolute path of the file or directory. | |
| newPath | Yes | New absolute path for the file or directory. |