memory_read
Read agent memory. action: get | search (consolidated surface — same handlers as the legacy tools) Required per action — get: source | search: query.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | [get] Item ID returned by memory_search | |
| hop | No | [search] Expand results by following [[wikilinks]] N hops from keyword hits (vault only). Scores decay 0.5 per hop. Default 0 (off). | |
| mode | No | [search] keyword (default) or latest_state | |
| path | No | [get] vault_file only: file path inside the vault (e.g. 'global/MEMORY.md') | |
| limit | No | [search] Max results (default 10, max 20) | |
| query | No | [search] Search text (e.g. 'render deploy key', 'ainote jwt'). May be blank only in latest_state mode. | |
| action | Yes | which operation to run | |
| source | No | [get] Which store the item lives in (use the `source` field from memory_search results) | |
| sources | No | [search] Memory stores to search. Default: both. |