read_file
Access and retrieve the contents of a file by specifying its path and desired encoding using this essential tool for file management on the Edit MCP server.
Instructions
Read the contents of a file
Input Schema
Name | Required | Description | Default |
---|---|---|---|
encoding | No | Encoding to use when reading the file (default: utf8) | |
path | Yes | Path to the file to read |
Input Schema (JSON Schema)
{
"properties": {
"encoding": {
"description": "Encoding to use when reading the file (default: utf8)",
"type": "string"
},
"path": {
"description": "Path to the file to read",
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
}