snapshot
Reads terminal or isolated command output for an SSH session, with history, raw event, and peek options to inspect output without advancing the saved cursor.
Instructions
Read output. Auto reads this chat's latest isolated command for the session, otherwise the user's terminal. Set channel=terminal explicitly to inspect panel output; prefer command_status for commands.
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": "snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full | No | Read recent history from the beginning of retained history instead of the saved MCP cursor. | |
| peek | No | Read without advancing the saved MCP cursor. | |
| after | No | Explicit seq cursor to read after. | |
| limit | No | Line limit by default, or event limit when events=true. | |
| events | No | Return raw event chunks instead of compact lines. | |
| channel | No | auto | |
| no_compact | No | Disable carriage-return progress compaction. | |
| session_id | No | Target sessionId from list_sessions. Required by the bridge when multiple sessions exist. | |
| event_limit | No | Maximum raw events to inspect when building compact lines. |