工具 API

get_file

读取仓库文件内容。Get file content (path may contain slashes).

devOAuth1 积分

调用信息

工具标识
cnb.get_file
服务提供方
CNB
平均响应
0 ms
近 7 天调用
0

输入参数

repo必填

仓库路径,如 org/name(不含 .git)

file_path必填

如 README.md 或 src/main.go

ref

分支或 commit