Github List Repository Tree
github_list_repository_treeList a repository's files and directories at any branch, tag, or commit. Get paths, modes, types, sizes, and SHAs, with recursive descent optional and truncation signaled.
Instructions
Lists a repository's tree at ref, one level deep unless recursive. Each entry carries path, mode, type, size and sha. truncated is True where the tree exceeded GitHub's cap, which no amount of paging widens. See #409.
Workflow and conventions: github_get_skill('pr-analysis').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Branch, tag or SHA to list at. Omit for the default branch | |
| path | No | Subdirectory to list. Omit for the repository root | |
| recursive | No | Descend into every subdirectory rather than one level | |
| repo_name | Yes | ||
| repo_owner | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| path | Yes | ||
| total | Yes | ||
| entries | Yes | ||
| truncated | Yes |