analyze_code_structure
Extract structural elements like classes, functions, parameters, and return types from source code files to facilitate codebase navigation and analysis across multiple programming languages.
Instructions
Analyze the structure of one or more source code files and return classes, functions, their line numbers, nesting levels, parameters, and return types. Supports Python, JavaScript, TypeScript, Java, C#, and Go. Accepts either a single file path (string) or an array of file paths.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path(s) to the source code file(s) to analyze | |
| include_docstrings | No | Whether to include docstrings in the output (default: false) |