get_file_content
Retrieve a file's content from any GitHub repository by providing owner, repo, and file path, with an optional branch, tag, or commit SHA for specific versions.
Instructions
Lê o conteúdo de um arquivo em um repositório
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"owner": "<owner>",
"repo": "<repo>",
"path": "<path>"
},
"name": "get_file_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Branch, tag ou commit SHA (opcional) | |
| path | Yes | Caminho do arquivo dentro do repositório | |
| repo | Yes | ||
| owner | Yes |