list_repository_tree
Lists committed files, directories, symlinks, and submodules from a branch, tag, or commit in an allowed repository. Supports pagination and recursion to inspect tree structure.
Instructions
Read a bounded page of committed files, directories, symlinks, and submodules from a branch, tag, or commit in an allowed repository. Paths are untrusted repository content. Recursive results can be truncated by GitHub; non-recursive subtree traversal remains available for complete inspection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| path | No | ||
| limit | No | ||
| offset | No | ||
| account | Yes | ||
| hostname | No | ||
| recursive | No | ||
| repository | Yes | Repository in owner/name format |