github.repo_tree
Retrieve a recursive file tree of any GitHub repository to map project structure and locate files quickly. Specify owner/repo and an optional depth limit.
Instructions
Get file tree of a GitHub repo (recursive)
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": "github.repo_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | owner/repo | |
| maxDepth | No |