Give agents access to your app's live state

Let agents investigate UI, stored data, and app-specific state in your Cordova/Capacitor app with tools scoped to development.

Use remote tools to answer questions about what the app is showing, what it has stored, and which app-specific state is driving its behavior. Enable only the inspection or development actions your workflow needs.

Cordova/Capacitor combines WebView DOM tools registered in JavaScript with standard native iOS and Android suites.

await Ansight.initializeAndActivate(
  Ansight.createOptionsBuilder()
    .withAnsightDefaults()
    .withReadOnlyToolAccess()
    .withDomTools()
    .withVisualTreeTools()
    .withDatabaseTools()
    .build(),
);
GuidePurpose
VisualTreeInspect the native UIKit/Android hierarchy and screenshots.
DOM InspectionInspect and query the WebView document; optionally invoke guarded actions.
DatabaseDiscover SQLite files, schema, and read-only queries.
FileSystemInspect and transfer files in approved roots.
PreferencesRead or repair approved preference keys.
ClipboardRead, check, set, and clear the connected app device clipboard through native tools.
PurchasesRecord and validate StoreKit or Google Play evidence through the typed purchases export.
SecureStorageAccess explicitly allowed secure values.
ReflectionInspect supported native roots.
Native Android JNI Reference Diagnosticsjni_references.capture_graph through native all-in-one defaults; there is no suite-specific JavaScript option.
Custom ToolsExpose narrow JavaScript operations.

All tools remain subject to the active tool guard. Keep tool registration inside a trusted development-build guard.

Native catalog entries expose current availability, unmet state, remediation, and retryability through runtime, with a top-level executable flag. The native runtime rechecks availability immediately before execution. JavaScript-backed DOM and custom tools are considered available while registered because the JavaScript registration API does not currently expose a pre-invocation availability callback.