analysis_tool
Extracts structure and imports from TypeScript/JavaScript files to help understand codebases quickly.
Instructions
Code analysis tool for TypeScript/JavaScript files.
Extracts structure (classes, functions, imports) without reading the full file. Useful for understanding codebases quickly.
Operations:
'summarize': Get high-level structure of a file
'imports': List all imports in a file
Examples:
Summarize a file: { operation: 'summarize', path: 'src/index.ts' }
Check imports: { operation: 'imports', path: 'src/core/utils.ts' }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the file to analyze | |
| operation | Yes | Analysis operation |