recall
Retrieve relevant remembered facts for the current task, ranked by relevance, recency, and importance, trimmed to a token budget to avoid context overflow.
Instructions
Retrieve only the most relevant remembered facts for the current task.
Call this at the start of a task instead of asking the user to re-explain context. Returns the top facts ranked by relevance + recency + importance, trimmed to a token budget so you never overflow the context window.
Cross-project discovery
When project_name is omitted (None), recall searches across all
projects — not just global memories. Each result includes a
project_name field so you can see which project a fact belongs to.
This is useful when the user hasn't told you which project they're working
on: search broadly, read the project names in the results, and use the
correct name for follow-up calls.
How to resolve the project_name
Same as remember: auto-match if unambiguous. If ambiguous (e.g. chat client with no filesystem), call list_projects() and explicitly ask the user which project they want to search, or leave it blank to search everything. Once chosen, lock it for the session.
Args: query: What you need context about (the user's request/topic). project_name: Project name to search within. When given, searches that project's memories plus global memories. When omitted (None), searches across ALL projects (cross-project discovery). top_k: Maximum number of facts to return. token_budget: Optional cap on total tokens of returned facts. tool: Calling tool name (for audit).
Returns a ready-to-inject context_block string plus the structured
memories with their ranking signals. Each memory includes its
project_name so you can tell which project it belongs to.
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": {
"query": "<query>"
},
"name": "recall"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | No | unknown | |
| query | Yes | ||
| top_k | No | ||
| project_name | No | ||
| token_budget | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||