read_text_file
Reads UTF-8 text files from approved paths while enforcing configured size limits, so clients can safely inspect allowed workspace content.
Instructions
Read a UTF-8 file within configured size limits
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_text_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path under configured approved roots |