get_github_file
Read one file from a switched-on repo's default branch — by default the README, which is the quickest way to learn what a product is. Given a directory path, lists its entries instead.
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": {
"repo": "<repo>"
},
"name": "get_github_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | README.md | |
| repo | Yes | Full repo name, owner/name, exactly as list_github_repos returns it. |