get_history
Retrieve recent terminal line history captured by the background daemon, optionally with wall-clock timestamps and session ID, to correlate commands with test framework logs.
Instructions
Retrieve recent chronological line history captured by the background daemon.
By default, each line is prefixed with an accurate wall-clock timestamp [YYYY-MM-DD HH:MM:SS.mmm] captured at the transport reception level. If a line was split across packets with a pause of >= 50ms (e.g. driver pause, delayed response), the continuation line is prefixed with '↳ ' and tagged with its own timestamp for precise correlation against test framework logs.
Args: limit: Number of recent lines to retrieve (default: 50). with_timestamps: If True (default), attaches wall-clock timestamps and continuation symbols on the fly. If False, returns raw clean text lines without timestamps. session_id: Target session ID (defaults to currently active session).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| session_id | No | ||
| with_timestamps | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |