GitHub & Code
readRepoFile
Read Repo File
Read one file from a connected GitHub repo at any ref: the reliable read path for drafting a diff in chat.
Arguments
ownerstringrequiredRepository ownerpathstringrequiredFile path within the reporefstringoptionalBranch, tag, or commit SHA. Defaults to the repo default branch.repostringrequiredRepository name
Returns
The registry does not declare a return shape.
Ask for it
The Cloud routes these requests to this verb.
- show me <file>
- read <path> on <repo>
Pair it with
The verbs that finish the job.