get_file
Retrieve the contents of a file from a GitHub repository. Specify the repository and file path, and optionally a branch, tag, or commit SHA.
Instructions
Get the content of a file from a repository.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path inside the repo (e.g. "src/index.ts"). | |
| repo | Yes | Repository in "owner/repo" format. | |
| branch | No | Branch, tag, or commit SHA (default: repo default branch). |