get_file_tree
Retrieve the file structure of a GitHub repository to navigate code organization, with optional path filtering for focused exploration.
Instructions
Get the file tree of an indexed repository, optionally filtered by path prefix.
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": "get_file_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository identifier (owner/repo or just repo name) | |
| path_prefix | No | Optional path prefix to filter (e.g., 'src/utils') |