recall
Retrieve relevant persisted memories using semantic, temporal, priority, or hybrid routing. Requires a reason for audit compliance.
Instructions
Retrieve relevant persisted memory using semantic, temporal, priority, or hybrid routing. Governance: requires reason (10–200 chars). Rate limit: 20/min.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Recall routing mode. "temporal" = pure chronological, "semantic" = FTS + TQ ranking, "priority" = critical/high-TQ first, "hybrid" = weighted blend, "auto" = detect from query (default). | |
| limit | No | Maximum memories to return (1–50, default: 10). | |
| query | Yes | What to recall — natural language query for memory retrieval. | |
| scope | No | Explicit memory scope. "agent" (default, fail-closed) = limits recall to the given agent_id (or the token agent). "tenant" = cross-agent recall within the authenticated tenant. If omitted with agent_id present, "agent" is inferred; if both omitted, the token agent is used (verified-token scope). | |
| reason | Yes | REQUIRED (10–200 chars). Audit policy: MEMORY_EXPORT_GOVERNANCE_V1. Human-readable justification for retrieving PLAINTEXT memory. Without this parameter the call WILL fail with code -32602. Example: "User asked me to summarize last week decisions." | |
| agent_id | No | Agent identifier (canonical or alias). Used only when scope="agent" or scope is inferred. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| scope | Yes | ||
| memories | Yes |