read_file
Read text files from the Genkai supercomputer filesystem, restricted to the work directory, returning file content, truncation status, and size in bytes.
Instructions
Read a text file from the Genkai filesystem.
Only files within work_dir are accessible. Returns {content, truncated, size_bytes}.
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": {
"file_path": "<file_path>"
},
"name": "read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| max_bytes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||