read_file
Read any text file's contents with configurable encoding to retrieve file data for processing or analysis.
Instructions
Read contents of a file. Supports text files with configurable encoding.
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": "read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path to read | |
| encoding | No | File encoding (default: utf8) | utf8 |