read_file
Read the complete content of a single text file by providing its path, with optional encoding to ensure accurate interpretation.
Instructions
Read the complete content of a single text file.
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 | Path to the file to read | |
| encoding | No | File encoding (default: utf-8) | utf-8 |