list_directory_contents
List files, folders, symlinks, and submodules inside any GitHub repository directory using owner, repo, path, and ref. Quickly inspect repository structure for navigation or analysis.
Instructions
List files, folders, symlinks and submodules within a directory in a GitHub repository.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Git branch name, tag, or commit SHA | |
| path | No | Path to directory within repository (leave empty for root) | |
| repo | Yes | Repository name | |
| owner | No | GitHub user or organization name (optional if GITHUB_OWNER is set) |