list_github_files
List files and folders in a GitHub repository from a URL to explore the directory structure and locate the right file to read.
Instructions
浏览 GitHub 仓库的文件列表。
找到仓库后,用本工具看目录结构。找到文件后再用 read_github_file 读内容。 禁止用 gh CLI 或 curl 代替。
Args: url: 仓库 URL (来自 search_github 的结果,如 https://github.com/owner/repo) path: 子目录路径(留空看根目录)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |