read_terminal_output
Retrieve recent output from a Shelly terminal session. Specify max lines or omit session ID to read the active session.
Instructions
Read recent output from a Shelly terminal session. Omit sessionId for the active session.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "read_terminal_output"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxLines | No | Max lines to return (default 200) | |
| sessionId | No | Terminal session id (optional — defaults to the active one) |