github_list_repository_files
List files and directories in a GitHub repository. Prefer the exact owner from github_list_repositories; 'repo' also accepts the combined 'owner/name' form. Returns the file tree at a given path. Use this to understand a project's structure before reading specific files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Subdirectory path to list. If not provided, lists the root of the repository. | |
| repo | Yes | Repository name. Also accepts the combined 'owner/name' form. | |
| owner | No | Repository owner (e.g. 'octocat'). Prefer the exact owner from a prior github_list_repositories call. May be omitted when the repository name is unambiguous in this organisation, or embedded in 'repo' as 'owner/name'. | |
| branch | No | Branch name. Defaults to the repository's default branch. |