github_get_file
Get file content from a GitHub repository with auto-decoding of base64. Specify owner, repository, file path, and optional branch, tag, or commit SHA to retrieve the file's contents directly.
Instructions
Get file content from a repository (auto-decodes base64).
Args: owner: Repository owner repo: Repository name path: File path in the repo (e.g., 'src/main.py') ref: Branch, tag, or commit SHA (empty = default branch) session_name: GitHub session to use
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| path | Yes | ||
| repo | Yes | ||
| owner | Yes | ||
| session_name | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |