Read a board file
pico_file_readRead a file from a connected MicroPython or CircuitPython board by board ID and path, returning UTF-8 text or base64 for binary data.
Instructions
Read one board file. auto returns UTF-8 text when safe and base64 for binary data; utf8 forces text; base64 always returns base64.
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": {
"board_id": "<board_id>",
"path": "<path>"
},
"name": "pico_file_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path on the board filesystem, relative to its root. | |
| board_id | Yes | Stable board UID returned by pico_boards_list, or its current serial device path. | |
| encoding | No | auto |