device_read_file
Read embedded files as text, including in-memory JSON with unsaved edits; binary files return only size and type. Use for scripts, small JSON, and raw checks.
Instructions
Read an embedded file as text (JSON is pretty-printed from the in-memory state, so unsaved edits show). Binary files return size and type only. Use patch_* tools to inspect patchers; this is for scripts, small JSON and raw checks.
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": "device_read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| path | Yes | ||
| max_lines | No | ||
| start_line | No |