get_file_contents
Retrieve file contents from a GitHub repository by providing owner, repo, and path. Choose overview for a preview or full mode for the complete file.
Instructions
Get the contents of a file from a GitHub repository
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Repository owner (username or organization) | |
| repo | Yes | Repository name | |
| path | Yes | Path to file | |
| branch | No | Branch to get contents from (defaults to default branch) | |
| mode | No | Mode: 'overview' for truncated preview, 'full' for complete file | overview |