read_file_content
Read a file's content from a specified path, with optional encoding and size limit parameters.
Instructions
Read the content of a file with optional 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": {
"file_path": "<file_path>"
},
"name": "read_file_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| encoding | No | File encoding | utf8 |
| max_size | No | Maximum file size to read in bytes (default: 1MB) | |
| file_path | Yes | Path to the file to read |