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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_path": "<project_path>"
},
"name": "scan_codebase_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_depth | No | ||
| project_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |