Skip to main content

get_entity_provenance

Returns the provenance log for an entity: which conversations contributed to its creation and which facts were extracted from each source. Use this when you need to verify where knowledge came from or audit fact origins.

Parameters

ParameterTypeRequiredDescription
typestringNoEntity type (optional, helps disambiguate if multiple entities share a name)
namestringYesName of the entity

Read-only

Yes. This tool only reads from your memory.

Example usage

{
  "name": "Alice"
}
{
  "type": "project",
  "name": "my-api"
}

When to use

  • Verifying where a piece of knowledge came from
  • Auditing which conversations led to the creation of an entity
  • Understanding how an entity’s profile was built up over time
  • Tracing a specific fact back to its original conversation
If you’re unsure whether a fact in an entity’s dossier is accurate, use get_entity_provenance to trace it back to the original conversation where it was mentioned.

How provenance works

Every time BaseLayer’s dream engine distills a conversation into entities and facts, it records which conversation contributed which pieces of knowledge. The provenance log is a timeline of these contributions, letting you see the full history of how an entity was built.