repo_tree
List files and directories within an allowed repository, applying safety exclusions to prevent unauthorized access. Provide a repo name and optional path to inspect the project tree.
Instructions
List files and directories in an allowed repository with safety exclusions.
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": "repo_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Optional repo-relative directory or file path. | |
| repo | Yes | Allowed repository name. | |
| max_entries | No | Maximum entries to return, capped at 500. | |
| include_hidden | No | Whether to include hidden files. |