github_get_file
Read one file from a GitHub repository (any branch, tag or commit). Passing a directory lists it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Branch, tag or commit SHA (optional; default branch if omitted) | |
| path | Yes | File path in the repo, e.g. src/index.js | |
| repo | Yes | Repository as owner/name, e.g. "octocat/hello-world" (a github.com URL works too) |