read_file
Read text files up to 100KB from allowed directories to inspect source code, configuration files, or any file content without modifying system state.
Instructions
Reads the text contents of a file (capped at 100KB). Path must be within
allowed roots (~/Projects, ~/Documents).
Use this when investigating file contents, checking configuration files,
or reading source code. Does not modify system state.
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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |