FileSystem
Configure Cordova/Capacitor native file tools for approved app roots.
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.