Read local file
read_fileRead local files on a Windows PC. Retrieve text content with utf8 encoding or binary data as base64.
Instructions
Read any local file accessible to the current Windows user. Use utf8 for text and base64 for 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": "read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| encoding | No | utf8 |