Recall memory in steps
recallSearch persistent repository memory in tracked steps, return only new and linked entities, and record conclusions with the source notes they rest on.
Instructions
Search memory in steps, recording why each search was made.
Each step runs its queries and opens named entities, returning only hits not already returned in this session, plus linked entities not yet opened. Small matching entities are returned whole. With path, notes from MEMORY.ptm.md files in folders covering it rank higher. The last step records a conclusion and the facts it rests on. An unknown session starts a new one. For a single lookup, see search_nodes.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"thought": "<thought>",
"step": "<step>",
"total_steps": "<total_steps>",
"next_step_needed": "<next_step_needed>"
},
"name": "recall"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| open | No | Exact names of entities to return in full. | |
| path | No | Folder or file the task is about, relative to the repo root; notes from memory files covering it rank higher. | |
| step | Yes | Number of this step, from 1. | |
| queries | No | Up to 3 searches, each in search_nodes query syntax. | |
| session | No | Session id from the first step's result; omitted on the first step. | |
| sources | No | Notes the conclusion rests on. | |
| thought | Yes | Why this step is taken: what is being looked for, and why. | |
| conclusion | No | What memory showed, for the last step; required when next_step_needed is false. | |
| total_steps | Yes | Estimated number of steps; raised to step when step is larger. | |
| revises_step | No | Earlier step of this session that this one corrects. | |
| next_step_needed | Yes | Whether another step follows; false ends the recall and requires conclusion. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hits | Yes | ||
| seen | Yes | ||
| step | Yes | ||
| session | Yes | ||
| entities | Yes | ||
| unopened | Yes | ||
| warnings | Yes | ||
| relations | Yes | ||
| total_steps | Yes | ||
| next_step_needed | Yes |