recall
Find answers from AI memory using natural language queries, with automatic routing that checks the session cache first, then falls back to the knowledge graph.
Instructions
Search memory with auto-routing and session awareness.
When session_id is provided without datasets or search_type, searches session cache first by keyword matching. Falls through to the permanent knowledge graph if no session results match.
Auto-routing picks the best search strategy when search_type is not specified.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Natural language query to search for. | |
| top_k | No | Maximum results to return (default: 10). | |
| datasets | No | Comma-separated dataset names to search within. | |
| session_id | No | Session ID for session-first search. | |
| search_type | No | Override auto-routing. Options: GRAPH_COMPLETION, GRAPH_COMPLETION_COT, RAG_COMPLETION, CHUNKS, SUMMARIES, TEMPORAL, FEELING_LUCKY, etc. | |
| system_prompt | No | Override the synthesis prompt for completion searches. When omitted, falls back to COGNEE_MCP_RECALL_SYSTEM_PROMPT / _FILE if configured on the server. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |