github.repo_file
Retrieve file contents from a GitHub repository by specifying owner/repo and file path, with optional branch, tag, or commit ref. Useful for reading source code or configs.
Instructions
Get file content from a GitHub repo
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Branch, tag, or commit SHA | |
| path | Yes | File path within repo | |
| repo | Yes | owner/repo |