get_file_content
Read any file from a Forgejo repository by specifying owner, repo, path, and optional ref. Returns UTF-8 content as text or base64 for binary files.
Instructions
Read a file. UTF-8 content returns as text; anything else as base64.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| repo | Yes | ||
| owner | Yes | ||
| filepath | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||