Read Session Activity
terminal_read_activityRead retained terminal session activity immediately when no cursor is provided, returning recent events for monitoring and debugging shared serial or SSH sessions.
Instructions
Read retained Session activity immediately when cursor is omitted; use terminal_wait_activity to wait for events after a known activity cursor.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | Optional next activity cursor; when set, wait for newer events. | |
| max_events | No | Maximum number of activity events to return. | |
| session_id | Yes | Active Session ID or short reference. | |
| timeout_ms | No | Optional wait timeout in milliseconds when cursor is supplied; maximum 86400000. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | Yes | ||
| events | Yes | ||
| dropped | Yes |