read_file_contents
Read the raw text content of a file from a GitHub repository by specifying owner, repo, and path. Provides the decoded file content for analysis or display.
Instructions
Read the raw text contents of a file from a GitHub repository. Returns the decoded file content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Branch, tag, or commit SHA to read from (defaults to the repo's default branch) | |
| path | Yes | Path to the file within the repository (e.g. 'src/index.ts') | |
| repo | Yes | Repository name | |
| owner | Yes | Repository owner (user or organisation) |