read_text_file
Read up to one MiB of a text file from a selected Raspberry Pi over SSH while leaving the file unchanged. Get its contents for inspection or troubleshooting directly from VS Code.
Instructions
Read up to one MiB of a text file from a named Pi without modifying it.
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": {
"device": "<device>",
"path": "<path>"
},
"name": "read_text_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| device | Yes | ||
| max_bytes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||