github_list_directory
List files and folders in a GitHub repository directory, with optional path and ref, to inspect repository structure and locate files.
Instructions
List a directory ("" is the repo root).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Branch, tag or commit sha. Defaults to the repo's default branch. | |
| path | No | ||
| repo | No | Repository as 'owner/name'. Defaults to GITHUB_MCP_DEFAULT_REPO when omitted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |