memory_search
Find memory notes by free text, path, kind, tag, or time, best match first; omit query to list recently updated notes.
Instructions
Find memory notes by free text, path, kind, tag or time, best match first; with no query it lists the most recently updated, which is the call to make when a session starts. Rows are digests with a 160-character excerpt and a score, never bodies: read one with memory_read. Terms match as substrings, with no embeddings. truncated is true when limit hid matches.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Only notes carrying this tag. | |
| kind | No | Only notes of this kind. | |
| path | No | Only notes whose paths overlap this one. | |
| agent | Yes | Your stable agent name. | |
| limit | No | How many to return. Default 10, max 50. | |
| query | No | Free text. Omit for recent activity. | |
| since | No | Only notes updated at or after this RFC 3339 timestamp. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Rows in this response. | |
| notes | No | Best match first, or newest first with no query. Digests, never bodies: permalink, title, kind, paths, tags, updated_at, and a 160-character excerpt, and score. | |
| status | Yes | ok. invalid: bad kind, since, or input. | |
| message | No | Human-readable detail, on most outcomes other than ok. | |
| truncated | No | True when limit hid further matches. |