gnosys_recall
Retrieve relevant memories for a task as a context block, using keywords or '*' to pick items by reinforcement, confidence, and recency. Return up to 15 memories across projects.
Instructions
Recall relevant memories as a context block for a task, e.g. query="JWT middleware". query="*" selects by reinforcement, confidence, and recency; limit uses config by default and is capped at 15; aggressive defaults to config (true). Use gnosys_hybrid_search instead to inspect ranked results or gnosys_read for one complete body. Registered projectRoot includes project, user, and global memories; omit it for all projects, or run gnosys_init for an unregistered root. Installed hooks may already inject this context per prompt.
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": "gnosys_recall"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max memories to return (default from config, max 15) | |
| query | Yes | What the agent is currently working on. Use keywords. Example: 'auth JWT middleware' or 'database migration schema' | |
| traceId | No | Optional trace ID from the outer orchestrator for audit correlation | |
| aggressive | No | Override aggressive mode for this call. Default: from gnosys.json (true) | |
| projectRoot | No | Registered projectRoot searches that project plus user and global memories. An unregistered projectRoot returns an error asking for gnosys_init. Omit projectRoot to search all projects. |