get_repo_structure
Retrieve a repository's folder/file tree with file count and lines of code totals. Use it first to get oriented before drilling into individual files.
Instructions
Returns the folder/file tree of a local repository, plus totals (file count, lines of code). Use this first to get oriented before drilling into individual files.
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": {
"repoPath": "<repoPath>"
},
"name": "get_repo_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repoPath | Yes | Absolute or relative path to the repository root |