query_memory
Retrieve stored facts tied to a query from solo or shared agent memory to avoid re-explaining context. Use at session start or whenever recalling prior details prevents repeat questions.
Instructions
Recall prior facts relevant to query, from this agent's own memory (scope="solo") or the pool shared across this user's agents (scope="shared"). Call this at session start, and any other time recalling prior context would save the user from re-explaining something - check here before asking them to repeat themselves or guessing at context you don't have.
digest=True ignores query and returns the most recently written active facts instead, as an opt-in "catch me up" convenience; call it explicitly at session start if you want one, it's never automatic.
A pending_ingest field appears when memory files have been written that
the graph hasn't heard about yet. Read each listed file and call
write_episode with the entities and facts it states, then mark it done
with echo-memory pending --done <path>. The queue exists because
extraction needs a model and this server never calls one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | ||
| scope | Yes | ||
| top_k | No | ||
| digest | No |