snapshot_scrollback
Retrieves a snapshot of terminal scrollback from an existing session. Captures rendered output without consuming new PTY bytes, ideal for review or logging.
Instructions
Get rendered terminal scrollback.
Requires an existing session created via create_session(session_id, cwd).
This is a passive snapshot. It does not ingest new PTY bytes.
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": {
"session_id": "<session_id>"
},
"name": "snapshot_scrollback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | ||
| session_id | Yes |