getRepoFile
Fetch and retrieve specific files directly from GitHub repositories using a URL and file path, enabling quick access to repository content for analysis or integration.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
path | Yes | The file path to fetch | |
repoUrl | Yes | The URL of the Github repo |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"path": {
"description": "The file path to fetch",
"type": "string"
},
"repoUrl": {
"description": "The URL of the Github repo",
"format": "uri",
"type": "string"
}
},
"required": [
"repoUrl",
"path"
],
"type": "object"
}