Grep memories
grep_memoriesUse this when you need exact text: names, IDs, error strings, paths. Literal substring search, like grep: no AI, no ranking, newest first; use search_memories to ask a question. Results carry id, title, author, date, teams/projects, citation and lines (grep -n -C1 form: 12: match, 11- context); the first page adds counts per team, project and tag. Filters and skipped memories work as in search_memories. Page with next_cursor.
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": {
"pattern": "<pattern>"
},
"name": "grep_memories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Only this kind. | |
| limit | No | 1-50, default 20. | |
| teams | No | Hard filter: teams you belong to. | |
| cursor | No | The previous call's `next_cursor`. | |
| topics | No | Hard filter: sensitive-topic keys, names or ids. | |
| pattern | Yes | Literal text, up to 200 characters, or a list of up to 10 (any matches). No regex or wildcards. | |
| projects | No | Hard filter: projects you belong to. | |
| ignore_case | No | Default true. | |
| include_expired | No | Also return memories past their valid_until. | |
| include_superseded | No | Also return memories replaced by a newer one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||