get_file_contents
Fetch a file's content from a GitHub repository at a specific branch, tag, or commit. Provide owner, repo, and file path to read the raw file content.
Instructions
Read a file's contents from a repo at a given ref.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Branch, tag, or commit sha; defaults to the default branch | |
| path | Yes | File path within the repo, e.g. src/index.ts | |
| repo | Yes | Repository name | |
| owner | Yes | Repository owner (user or org) |