fs_read_file
Read file contents from the filesystem to access text or binary data for development tasks. Supports UTF-8, binary, and base64 encoding formats.
Instructions
Read the contents of a file from the filesystem. Supports text and binary files.
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_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute or relative path to the file to read | |
| encoding | No | File encoding | utf8 |