github_get_repo_structure
Show a single-level directory listing of a GitHub repository path to understand project layout and discover files.
Instructions
List the directory structure of a GitHub repository path (single level, non-recursive). Useful for understanding project layout and discovering files. Works without a token (anonymous rate limits apply — set GITHUB_TOKEN for higher limits).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Git ref (branch name, tag, or commit SHA). Defaults to the repo's default branch. | |
| path | No | Directory path inside the repo. Defaults to the root. Use forward slashes. | |
| repo | Yes | GitHub repository in the form 'owner/repo' |