get_file_contents
Retrieve file or directory contents from a GitHub repository by specifying owner, repo, and path parameters.
Instructions
Get the contents of a file or directory 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 the file or directory | |
| encoded | No | Whether to return the content encoded in base64 (default = true) | |
| branch | No | Branch to get contents from |