analyze_file
Analyze a React/TSX file to extract its components, hooks, imports, exports, and directives. Uses AST analysis to provide precise code structure for efficient AI coding assistance.
Instructions
Analyze a single React/TSX file. Returns components, hooks, imports, exports, and directive.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path to the TSX/JSX file to analyze |