Show recent memories
recentReturns the most recently written memory entries in order. Call this at the end of every session — review what was written, spot gaps, and write anything missing before the session closes. A session that ends without a recent() check is a session that may have lost knowledge. Also useful mid-session to track what's been captured so far.
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": "recent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Optional namespace path to scope results. Defaults to all namespaces. | |
| limit | No | Number of entries to return. Default 20, max 100. | |
| cursor | No | With removed: true, the next_cursor from the previous page. | |
| removed | No | Owners only in a shared brain. If true, lists removed entries instead, newest removal first, with who removed them: recent({removed: true}). Restore one with restore. Entries of a removed namespace cannot be restored and are not listed. | |
| namespace | No | Alias for 'path'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entries | Yes | ||
| next_cursor | No | ||
| next_actions | No |