GitHub Tools
Github Get Repository Content
通过 Aident Loadout 使用 GitHub Tools 的 Github Get Repository Content。执行前查看输入、输出、设置、价格和风险。
写入操作风险等级 2/5OAuth 连接
服务提供商说明
Retrieves a file's Base64 encoded content or lists a directory's contents from a GitHub repository.
价格与限制
- 价格
- 免费操作
- 统一支付
- 暂不支持
输入
- The name of the commit, branch, or tag to read from. Use this parameter to specify which branch (e.g., 'feat/godlocal-dev', 'main', 'develop'), tag (e.g., 'v1.2.0'), or commit SHA you want to access. If not provided, the repository's default branch will be used. Note: Branch nam…refstring
- Required. Path to file or directory in the repository. Empty string ('') retrieves root directory contents. Leading slashes auto-stripped. CRITICAL: Do NOT pass branch names here (e.g., 'feat/godlocal-dev', 'main'). Branch names belong in the `ref` parameter. Path should be file…pathstring必填
- Required. The name of the repository, without the `.git` extension. This name is not case sensitive.repostring必填
- Required. The account owner of the repository. This name is not case sensitive. Can also accept full repository path in format 'owner/repo' - the repo part will be extracted automatically.ownerstring必填
可观察输出
- Data from the action executiondata必填
- Error if any occurred during the execution of the actionerrorstring
- Whether or not the action execution was successful or notsuccessfulboolean必填