Inspect and retrieve files from your running app

Read and export files from approved Cordova/Capacitor app directories to investigate logs, caches, and other local data.

FileSystem tools help you inspect the files behind a problem and retrieve them for closer analysis. Start with read-only access to approved directories; enable file changes only when a local debugging workflow needs them.

const options = Ansight.createOptionsBuilder()
  .withFileSystemTools({
    additionalRoots: [{ alias: "exports", path: "/tmp/app-exports" }],
  })
  .withReadOnlyToolAccess()
  .build();

The native files.* suite can list, read, checksum, download, push, copy, move, and delete files inside approved roots. Read-only access excludes mutation; delete requires full access. Do not confuse native sandbox paths with WebView URLs.