Skip to main content

What it does

Retrieves the original conversation snapshot that created a specific memory. Use this to verify a memory’s provenance, understand its context, or see exactly what was discussed when the memory was extracted. Returns the full conversation turn(s) that led to the memory capture.

Parameters

Returns

Field descriptions:
  • sourceConversation.turns — Array of conversation messages that led to this memory
  • extractedAt — Timestamp when the memory was extracted
  • extractionModel — Which model performed the extraction (usually gpt-4o-mini)
  • memory — The extracted memory metadata including store and category

Examples

Basic usage

Advanced usage

When to use this vs alternatives

  • crystal_trace — When you need to see the original conversation context for a specific memory
  • crystal_recent — When you want recent conversation messages without linking to a specific memory
  • crystal_what_do_i_know — When you want a broad topic summary across all related memories

Error handling

Notes

  • The conversation snapshot is frozen at the time of extraction — it reflects what the extraction model saw, not necessarily all context
  • Some memories may have been extracted from partial conversations if the turn limit was hit
  • Tracing a memory does not modify it
  • If a memory was updated or edited after extraction, the trace still shows the original source
  • Use this before acting on a memory to verify it’s not outdated or taken out of context