Read a file from a device
pi_file_readRead a file from a remote Raspberry Pi or SSH device relative to $HOME, returning UTF-8 text when safe and base64 for binary data.
Instructions
Read one file from the remote device relative to $HOME. auto returns UTF-8 text when safe and base64 for binary data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path relative to the authenticated user's remote $HOME directory. | |
| encoding | No | auto | |
| device_id | Yes | IP address, hostname, MAC address, or device identifier of the target Raspberry Pi / SSH device. |