TOOL API

get_repository_tree

Get the tree structure (files and directories) of a GitHub repository at a specific ref or SHA

OtherOAuth1 credits

Call information

Tool slug
github.get_repository_tree
Provider
GitHub
Average response
0 ms
Calls in 7 days
0

Input parameters

ownerrequired

仓库所有者 (用户名或组织)

reporequired

仓库名称

tree_sha

树的SHA1值或ref (分支或标签名称)。默认为仓库的默认分支

recursive

设置为true返回树引用的对象或子树

path_filter

可选的路径前缀过滤器 (例如 'src/' 只显示src目录中的文件)