pond_get_session
Fetch a past agent session as a chronological transcript to review, analyze, or summarize the conversation and tool references. Supports paging from either end.
Instructions
Read a whole past session as a chronological transcript - the tool for analyzing, reviewing, or summarizing a session (user/assistant text plus one-line tool/file refs; tool bodies stay one pond_get_message away). Pass the id from pond_search or a subagent footer; a message_id also works - it resolves to its parent session with the page anchored at that message. Paging: limit (default 20), from="end" reads the most recent turns first (the session's final state; late conclusions supersede early ones), after_message_id / before_message_id continue from a page marker. The first page lists subagent sessions in a footer - pass a listed id back to open one. Not for bulk export - use pond copy --to <file>. Response format details: resource schema://pond.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The session to read - a session_id from pond_search or a subagent footer. A message_id also works: it resolves to its parent session with the page anchored at that message. | |
| from | No | Which end to read the first page from: "start" (oldest, default) or "end" (most recent - the session's final state, e.g. to recover context after compaction). Pages stay chronological. | |
| limit | No | Max messages per page. Default 20, max 1000. | |
| after_message_id | No | Page forward: a message id from a prior page's bottom marker; returns messages after it. | |
| before_message_id | No | Page backward: a message id from a prior page's top marker; returns messages before it. |