Назад к 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. |