read_project_structure
Retrieve the project's directory structure as a tree (excluding common build and dependency folders) to understand layout and identify services, packages, and entry points.
Instructions
Get the directory structure of the project. Returns a tree of files and directories, useful for understanding project layout during onboarding.
Excludes: node_modules, .git, dist, build, .grafema, coverage, .next, .nuxt
Use this tool when studying a new project to identify services, packages, and entry points.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "read_project_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Subdirectory to scan (relative to project root). Default: project root. | |
| depth | No | Maximum directory depth (default: 3, max: 5) | |
| include_files | No | Include files in output, not just directories (default: true) |