read_file
Read file contents within the home directory sandbox to inspect configs, logs, or scripts, with an optional maximum line limit.
Instructions
Read the contents of a file (sandboxed to home directory). Use for configs, logs, scripts.
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 | File path (absolute or ~/relative) | |
| max_lines | No | Max lines to return (default 200) |