list_files
Retrieve the list of files and folders at any directory in a GitHub repo. Specify owner/repo, a path, and optionally a branch or commit to explore the codebase.
Instructions
List files and directories at a given path inside a repository.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Directory path inside the repo (default: root ""). | |
| repo | Yes | Repository in "owner/repo" format. | |
| branch | No | Branch, tag, or commit SHA (default: repo default branch). |