get_repo_tree
Browse a GitHub repository's file tree to explore project structure at any branch, tag, or commit. Specify a directory path to inspect its contents.
Instructions
Browse the file tree of the connected GitHub repository.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_repo_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Branch, tag, or commit SHA | |
| path | No | Directory path (empty for root) | |
| teamId | No | Team ID (auto from session if omitted) | |
| projectId | No | Project ID (auto from session if omitted) |