Read local file
read_fileRead any local file accessible to the current Windows user. Choose utf8 for text files or base64 for binary files to retrieve their contents.
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 |