list_tree
List files and folders under a repository path to navigate GitHub structure before retrieving a specific file.
Instructions
List files/folders under a path in a repository (from GitHub). Useful to navigate before get_file.
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": {
"full_name": "<full_name>"
},
"name": "list_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Branch or commit; defaults to default branch | |
| path | No | Directory path, empty for repo root | |
| task_id | No | ||
| full_name | Yes |