memory_search
Search shared long-term memory for saved preferences, conventions, decisions, and bug fixes; filter by project, agent, category, or tag to reuse past context before tasks or decisions.
Instructions
Search the shared long-term memory (Notion or Obsidian, used by Cline, OpenCode, Claude Code, GitHub Copilot, Hermes). Returns matching memories with id, title, content, agent, category, tags. Semantic and hybrid vector matches also include match.excerpt with Unicode start/end offsets. Set response to compact to omit full content and return an excerpt; use memory_get for full content. USE THIS at the start of a task with relevant keywords, and before making decisions, to reuse saved preferences, conventions, and past decisions.
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 |
|---|---|---|---|
| tag | No | Exact tag name to filter by | |
| mode | No | Semantic and hybrid modes require a fresh local cache | keyword |
| agent | No | Only memories saved by this agent | |
| limit | No | ||
| query | Yes | Search text; semantic and hybrid modes also match related meaning | |
| project | No | Only memories for this project/repository | |
| category | No | ||
| response | No | Compact omits full content; full preserves the existing response | full |
| currentProject | No | Use the current Git repository as project scope when project is omitted |