get-file-content
Retrieve the content of a specific file from a GitHub repository by providing the owner, repository name, and file path. Use this tool to access and utilize file data within AI interactions or workflows.
Instructions
Get content of a specific file from a GitHub repository
Input Schema
Name | Required | Description | Default |
---|---|---|---|
owner | Yes | GitHub repository owner/organization name | |
path | Yes | Path to the file in the repository | |
repo | Yes | GitHub repository name |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"owner": {
"description": "GitHub repository owner/organization name",
"type": "string"
},
"path": {
"description": "Path to the file in the repository",
"type": "string"
},
"repo": {
"description": "GitHub repository name",
"type": "string"
}
},
"required": [
"owner",
"repo",
"path"
],
"type": "object"
}