file_reader
Reads the contents of a file from the filesystem using an absolute or relative path, with optional encoding selection for handling text files in different character sets.
Instructions
Read the contents of a file from the filesystem
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": "file_reader"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute or relative path to the file to read | |
| encoding | No | File encoding (default: utf-8) |