read_file
Reads a file's complete content with UTF-8 encoding support. Returns an error if the file does not exist or is not accessible.
Instructions
Read the complete contents of a file from the file system. Handles UTF-8 encoding. Fails if the path is not a file or not accessible. Only works within allowed directories:
/app
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 |