Read a file
read_fileThe text of one file from an entry (UTF-8, up to 256 KB), at a branch, tag or commit.
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>",
"path": "<path>"
},
"name": "read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Branch, tag or commit. Defaults to the default branch. | |
| path | Yes | Path inside the repository, for example scan_health.py. | |
| repo | Yes | Repository as owner/name, for example commons/film-scan-health. |