project_structure
Returns a repository's compact directory tree with language and symbol counts per folder, collapsing deeper paths beyond a set depth into file counts.
Instructions
Returns the repository's directory tree with language and symbol counts per directory. Directories beyond max_depth are collapsed with file counts. Compact output like the tree command.
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": {
"repo": "<repo>"
},
"name": "project_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name (as shown in list_repos) | |
| max_depth | No | Maximum depth to expand |