memory_recall
Retrieve and search scoped long-term memories in LeafMem, build prompt-ready recall context, and read active task context so AI agents reuse past experience.
Instructions
Recall long-term memory: build prompt-ready recall context, search/get/list records, build a task window, or read active context/experience.
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": {
"action": "<action>"
},
"name": "memory_recall"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| limit | No | ||
| query | No | ||
| action | Yes | ||
| taskId | No | ||
| message | No | ||
| scopeId | No | ||
| maxChars | No | ||
| minScore | No | ||
| scopeType | No | ||
| maxResults | No | ||
| toolContext | No | ||
| recentMessages | No |