MemoryHit
One recalled memory, as a provider returns it from recall.
The framework parses it, keeps it only if its binding belongs to the calling scope, and shows it to the model as untrusted reference.
Fields
idstringrequiredThe record's id, the same one remember returned. The model can pass it to forget_memory.
versionstringrequiredThe record's version, the same one remember returned.
textstringrequiredThe stored fact.
scorenumberrequiredHow well the record matches the query; higher is better. The scale is the provider's own (local_memory uses the negated FTS5 bm25 rank).
origin"user" | "tool_output" | "model" | "host"requiredThe origin the record was saved with (user, tool_output, model or host), returned unchanged.
bindingBindingrequiredIssued by the host; the provider stores it opaquely.