List GitHub directories
list_github_directoriesList directories inside a GitHub repository at a specified path, with an option to recursively retrieve all subdirectories.
Instructions
Lists directories (folders) inside a GitHub repository at a given path. Set recursive=true to list every subdirectory in the repo instead of just the immediate children.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Branch, tag, or commit SHA (default: repo's default branch) | |
| path | No | Path within the repo to list (default: repo root) | |
| repo | Yes | Repository name, e.g. 'claude-code' | |
| owner | Yes | Repository owner, e.g. 'anthropics' | |
| recursive | No | If true, list all directories in the repo tree recursively (default: false) |