get_repository_tree
Return a bounded map of directories and files for one repository, enabling you to understand its structure before choosing files. Specify max depth and entries to control scope.
Instructions
Return a bounded directory and file map for one repository. Use this to understand repository structure before selecting files. Do not use it to retrieve file contents.
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": {
"workspace": "<workspace>"
},
"name": "get_repository_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_depth | No | ||
| workspace | Yes | ||
| max_entries | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entries | Yes | ||
| truncated | Yes | ||
| workspace | Yes |