fileforge_app_action
Inspect an open web app tab to detect its framework and read routes, Next.js data, client storage, feature flags, and React tree hints for understanding how the app is built.
Instructions
Inspect a web app in an open tab: detect its framework, and read routes, Next.js data, client storage, feature flags and React tree hints. Use this to understand how an app is built. Use fileforge_coding_action for a full bundle. Read-only, but get_client_storage returns raw localStorage and sessionStorage values, which can include tokens. Needs the extension.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | No | Tab ID, or "active" for the active tab. | active |
| action | Yes | What to do. Required parameters are in brackets. detect_framework: Detect the frontend framework used by the page (React, Vue, Next.js, etc.). get_next_data: Extract Next.js __NEXT_DATA__ and server-side props. get_route_info: Get current route information from the SPA router. get_client_storage: Get localStorage, sessionStorage, and accessible cookies. get_feature_flags: Detect feature flags exposed in the page (LaunchDarkly, GrowthBook, etc.). get_react_tree_hint: Get a React component tree hint from the page. | |
| includeStateHints | No | Include hints about client state. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | False if the action failed or a check did not pass. | |
| ref | No | Stored result ID, for fileforge_result_action. | |
| data | No | The result. Its shape depends on the action. | |
| meta | No | Tool, action and context. | |
| error | No | Failure code and message. | |
| warnings | No | Notes about a call that still ran. |