get_file_content
Retrieve file contents from a GitHub repository by supplying the file path. Optionally set a branch, tag, or commit SHA to read a specific version.
Instructions
Read a file from the connected GitHub repository.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Branch, tag, or commit SHA | |
| path | Yes | File path in the repository | |
| teamId | No | Team ID (auto from session if omitted) | |
| projectId | No | Project ID (auto from session if omitted) |