Documentation

sandboxes

Filesystem (drive)

Read and write room drive paths from MCP or REST.

Inside the guest, use normal POSIX tools under the drive mount. From the control plane:

MCP

  • fs_list — list a path
  • fs_read — read file contents
  • fs_write — write / create

REST

# list
curl -fsS "$FYSTASH_API/v1/rooms/$ROOM/drive/list?path=/" \
  -H "Authorization: Bearer $FYSTASH_API_KEY"

# write
curl -fsS -X POST "$FYSTASH_API/v1/rooms/$ROOM/drive/write" \
  -H "Authorization: Bearer $FYSTASH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"path":"out/result.txt","content":"hello"}'

See Shared drive for isolation and quotas.