Skip to main content
Use the local filesystem API to inspect paths, read and write content, and manage files and directories inside a running sandbox.

Read And Write Files

Batch writes are also supported:

Read Ranges And Different Formats

Use read() when you want to control offset, length, or representation. Supported formats include:
  • text
  • bytes
  • blob
  • stream

List And Inspect Paths

Move, Copy, Remove, And Update Permissions

Behavior Notes

The current filesystem implementation has a few practical guarantees worth knowing:
  • remove is idempotent for missing paths.
  • Removing a symlink removes the link, not the target.
  • Directory listings do not recurse through symlink loops.
  • Recursive copies preserve symlinks instead of expanding them indefinitely.