Inspect and retrieve files from your running app
Read and export files from approved Flutter 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.
final options = createOptionsBuilder()
.withRemoteTools(
const AnsightRemoteToolsOptions(
fileSystem: AnsightFileSystemToolsOptions(
additionalRoots: <AnsightNativeToolRoot>[
AnsightNativeToolRoot(alias: 'exports', path: '/tmp/app-exports'),
],
),
),
)
.withReadOnlyToolAccess()
.build();
The suite exposes files.* list, read, checksum, download, push, copy, move, and delete operations inside approved roots. Read-only access excludes mutation; delete requires full tool access. Treat file contents as sensitive.