list_tree
List the directory tree of a specific path in a repository with customizable depth and traversal limits.
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": {
"name": "<name>"
},
"name": "list_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Full name of the repository (owner/name) | |
| maxDepth | No | Maximum depth into the directory structure to list. | |
| maxPerDir | No | Maximum number of items to display per directory level. | |
| targetDir | No | Target directory path to inspect. Leaves empty to search from root. |