Skip to Content
MosaicMosaicDocs
Tool Reference

ReadAgentSession

Read an agent session by its ID from an agent-session mention or search result.

Starter documentation. Features and account details may differ from this deployment.

ReadAgentSession

Read an agent session by its ID from an agent-session mention or search result. Returns the latest 20 messages in chronological order, including prompts, replies, tool activity and errors. Optionally select a turn number to inspect earlier history. Each message is capped at 4000 characters; truncated flags identify omitted history or text. Requires view access to the session.

Parameters

ParameterTypeRequiredDescription
sessionIdstringYesThe agent session UUID from its mention or search result.
turnintegerNoRead only this turn number, as returned in messages; omit for recent history.

On this page