read_file
Read a file from the connected device and return its contents as a base64-encoded data URI; decode it to access raw bytes.
Instructions
Reads a file from the device and returns its content base64-encoded as data URI. Decode it if you need the raw bytes.
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 | Absolute file path. |