Search memories
search_memoriesUse this when starting a task, or when the person asks what the organization knows or decided about something. query is the semantic search phrase: its wording drives relevance. topics and teams are explicit structured filters, not search text: every result matches each one given; values that cannot be applied are listed in the JSON's filters block (never why), and when none of a filter's values can be applied the call returns NO results. list_teams and list_topics give the valid values. team/project are older soft narrowing hints; the response's narrowed_by shows which matched (null = ignored). Each result has id, content (a preview with detail: "brief"), audience bucket, a short why, a citation and, when known, author, client and version. max_chars caps the text returned; when results are cut, truncated is true and hint says how to narrow. Memories past valid_until, or replaced by a newer one, are skipped unless include_expired / include_superseded. Not for browsing (use list_memories) or one memory in full (use get_memory). With the terminal table on, the JSON is the last text block.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_memories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Only this kind. | |
| team | No | Soft hint toward one team (id, slug or name). Unknown values are ignored. | |
| limit | No | Results to return, 1-50. Default: the configured number (10 unless changed). | |
| query | No | The semantic search phrase: a topic, question or keywords, up to 2000 characters. Required, except for a handoff board. | |
| teams | No | Hard filter: up to 20 teams you belong to (id, slug or name); blank values are rejected, an empty list means no filter. | |
| detail | No | 'full' (default): each result's whole content. 'brief': a 200-character preview instead; open one with `get_memory`. | |
| run_id | No | Only this run's. | |
| topics | No | Hard filter: up to 20 sensitive-topic keys, names or ids; blank values are rejected, an empty list means no filter. | |
| project | No | Soft hint toward one project (id, slug or name). Unknown values are ignored. | |
| max_chars | No | Budget for the total content (or preview) characters across results, 200-100000. Results past it are left out and `truncated` is true. | |
| include_expired | No | Also return memories past their valid_until. | |
| include_superseded | No | Also return memories replaced by a newer one. |