fs_read
Read a single local file with UTF-8 line slicing or base64 encoding for binary data; choose the multi-file reader when handling several files.
Instructions
Read one local file. Supports UTF-8 line slicing or base64 for binary files. Prefer fs_read_many when several files are needed.
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": {
"path": "<path>"
},
"name": "fs_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| encoding | No | utf8 | |
| maxBytes | No | ||
| maxLines | No | ||
| offsetLine | No |