read_screen
Capture the current terminal screen and recent scrollback from a Raspberry Pi shell to inspect command output, prompts, or interactive program state.
Instructions
Read the current terminal screen (plus a little scrollback) of a device shell.
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>"
},
"name": "read_screen"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | Last N lines (0 = screen + 20 lines) | |
| device | Yes | Device name (or unique substring of it) or device UUID, as shown by list_devices |