fileforge_coding_action
Gathers page and route context for fixing code: inspect framework, selectors, forms, console, network and performance, audit routes for errors, and capture bug or article details in one call.
Instructions
Get context for fixing code in one call. inspect_page returns a page's framework, selectors, forms, console, network and performance; audit_routes sweeps many routes for errors; bug_context and article_context gather focused context. Use fileforge_qa_testing for pass/fail checks. Opens pages in your session; results can be stored. Needs the extension.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Optional URL to open. If omitted, use the active tab. | |
| store | No | Save the result in ~/.fileforge and return a ref. | |
| tabId | No | Tab ID, or "active" for the active tab. | active |
| title | No | Bug title. Defaults to the page title. | |
| action | Yes | What to do. Required parameters are in brackets. inspect_page: One-shot Chrome coding context for a URL or active tab: DOM, selectors, forms, framework, console, network, API, a11y, responsive, perf, and optional screenshot. audit_routes (baseUrl, routes): Fast hidden-Chrome route sweep for coding: captures load-time console, network, API failures, a11y/responsive issues, selectors, and compact summaries per route. bug_context (url): Capture a compact bug-fix bundle from Chrome for Codex: page context, issues, HAR-style network export, and optional screenshot/API bodies. article_context: Extract and store an article/documentation context bundle for research debugging. Captures article text, heading outline, metadata, links, code blocks, framework info, and page route state. Ideal for docs, blogs, changelogs, README pages, and research pages that an agent needs to consume. | |
| reload | No | Reload the page before capturing. | |
| routes | No | Route paths to visit, such as "/pricing". | |
| baseUrl | No | Origin that routes are resolved against. | |
| project | No | Project name that groups stored results. | default |
| domDepth | No | How many DOM levels to include. | |
| keepOpen | No | Leave the tab open afterward. | |
| settleMs | No | Milliseconds to wait after load before capturing. | |
| timeoutMs | No | Time limit in milliseconds. | |
| maxTextLength | No | Maximum text length to return. | |
| includeStorage | No | Include client storage. Values are not redacted. | |
| includeApiBodies | No | Include API response bodies. | |
| includeComparison | No | Include visible vs article comparison data | |
| includeScreenshot | No | Include a screenshot. | |
| includePerformance | No | Include performance metrics. |
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. |