Reflection

Configure Cordova/Capacitor native reflection tools for supported iOS and Android roots.

const options = Ansight.createOptionsBuilder()
  .withReflectionTools({
    includeBuiltInRoots: true,
    allowedRootIds: ["application"],
    allowedTypePrefixes: ["com.example."],
  })
  .withReadOnlyToolAccess()
  .build();

The native suite exposes reflect.list_roots, reflect.inspect_object, reflect.describe_type, reflect.set_member_value, and reflect.invoke_method according to platform support and the active guard.

These are Swift/JVM roots, not arbitrary JavaScript object reflection. Use DOM or custom JavaScript tools for WebView state.