get_file_contents
Fetch file content from a GitHub repository by specifying owner, repo, and path. Supports optional ref to retrieve files from a specific branch, tag, or commit.
Instructions
Read the contents of a file from a GitHub repository.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| path | Yes | ||
| repo | Yes | ||
| owner | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |