get_file_content_tool
Retrieve and decode the text content of any file from a GitHub repository. Specify owner, repo, path, and optional branch or commit to get the file's contents.
Instructions
Get the decoded text content of a file in a GitHub repository.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name | |
| path | Yes | Path to the file within the repository | |
| owner | No | Repository owner (defaults to GITHUB_DEFAULT_ORG if unset) | |
| ref | No | Branch, tag, or commit SHA (default: the default branch) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||