Search memory
memory_searchSearch stored facts, decisions, and procedures by keyword before answering about earlier user statements. Returns only current, valid versions; excludes withdrawn, superseded, or expired entries.
Instructions
Find stored facts, decisions and procedures by keywords. Use it before answering about anything the user said or decided earlier. Returns only current, valid versions, each with its text, kind, artifact_id and exact ref; withdrawn, superseded and expired versions are left out, and an empty list means nothing valid matches. Read-only. To re-read one version you already hold, use memory_read.
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": "memory_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | UTC time to check validity at. Leave out for now. | |
| kinds | No | Only these kinds. Leave out to search all. | |
| query | Yes | Keywords or a question. | |
| top_k | No | Maximum number of results, default 5. Leave out unless you need more. | |
| max_chars | No | Maximum characters of text returned in total, default 2000. | |
| conditions | No | Facts about the current situation, matched exactly against stored preconditions. Leave out unless the user describes a situation. |