terminal_snapshot
Capture the terminal screen, cursor, and process status without sending input. Optionally retrieve up to 2,000 scrollback lines for context.
Instructions
Observe the current terminal screen, styles, cursor, and process status without sending input. Optionally request up to 2,000 normal-buffer scrollback lines. settleMs:0 captures without a quiet wait. An exited process keeps its final screen until the session is closed.
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": {
"sessionId": "<sessionId>"
},
"name": "terminal_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| settleMs | No | ||
| sessionId | Yes | ||
| scrollbackLines | No | ||
| settleTimeoutMs | No |