get_repository_tree
Retrieve a GitHub repository's directory structure and file listing by SHA or branch name. Use recursive mode to obtain complete nested file trees for comprehensive repository analysis.
Instructions
Get a repository tree (directory listing) by SHA or branch name. Set recursive=True to get the full nested file tree.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Repository owner | |
| repo | Yes | Repository name | |
| tree_sha | Yes | SHA of the tree, commit, or branch name (e.g. 'main') | |
| recursive | No | Recursively get all nested trees |