scan_codebase_tool
Scans a project directory to produce a structural overview including language, framework, dependencies, and entry points. Use this to understand codebase architecture before diving deeper.
Instructions
Scan a project directory and return a structural overview.
Returns information about the project including: detected language, framework, directory tree, dependencies, entry points, and config files. Does NOT interpret code — use this as a starting point for analysis, then read specific files to understand the architecture.
Args: project_path: Absolute or relative path to the project root directory max_depth: Maximum directory depth to scan (default: 3)
Returns: JSON object with project structure information.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_depth | No | ||
| project_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |