read_file
Read the full text content of a file by providing its relative path within the sandboxed directory.
Instructions
Reads and returns the full text content of a file. The path must be relative to the server's sandboxed root directory. Returns an error if the file does not exist, is not readable as text, or resolves outside the sandbox.
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 | Relative path to the file, e.g. 'notes/todo.txt' |