get_file_contents
Read a file from a GitHub repository by specifying the repository, file path, and optionally a branch or commit.
Instructions
Read a file from a GitHub repository.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository in 'owner/repo' format. | |
| path | Yes | File path (e.g. 'src/main.py'). | |
| ref | No | Branch, tag, or commit SHA (default: default branch). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |