get_thread
Retrieve a conversation thread from a session, showing user and assistant messages with pagination and optional tool names.
Instructions
Get a conversation thread (root-to-leaf path through the tree).
Only includes user and assistant messages. Supports pagination for long threads.
Args: session_id: Session UUID (or prefix). leaf_uuid: UUID of the leaf node. Empty for the primary (latest) thread. project: Optional project slug. offset: Skip first N messages for pagination. limit: Max messages to return (default 50, max 200). include_tool_calls: Show tool names used in assistant messages.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No | ||
| project | No | ||
| leaf_uuid | No | ||
| session_id | Yes | ||
| include_tool_calls | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |