返回 GitHub
将 Knoon AI 与 GitHub 连接以自动化 AI 工作流。
Get repository file or directory content by path.
githubDefaultGetRepositoryContent
测试版
内部
权限
可选权限
没有可显示的项目。
参数
| 名称 | 类型 | 描述 | 必填 |
|---|---|---|---|
| repository | file | GitHub repository in owner/repo format. | 是的 |
| path | mustache | Optional file or directory path. Empty means repository root. | 没有 |
| ref | mustache | Optional branch, tag, or commit SHA. | 没有 |
| includeContent | boolean | Optional. If true and path is a file, include content. | 没有 |
回报
| 名称 | 类型 | 描述 |
|---|---|---|
| result | object | Repository content summary. |