search_long_term_memories
Search and activate relevant long-term memories based on current conversation context to provide contextual information and serendipitous recall.
Instructions
Search and activate relevant long-term memories based on current conversation context. Returns activated memories (whose triggers evaluated to true) and random memories for serendipity.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| messages | Yes | ||
| conversation_id | Yes | ||
| participants | No |
Input Schema (JSON Schema)
{
"properties": {
"conversation_id": {
"_def": {
"checks": [],
"coerce": false,
"description": "Current conversation ID",
"typeName": "ZodString"
},
"~standard": {
"vendor": "zod",
"version": 1
}
},
"messages": {
"_def": {
"description": "Recent conversation messages",
"exactLength": null,
"maxLength": null,
"minLength": null,
"type": {
"_cached": null,
"_def": {
"catchall": {
"_def": {
"typeName": "ZodNever"
},
"~standard": {
"vendor": "zod",
"version": 1
}
},
"typeName": "ZodObject",
"unknownKeys": "strip"
},
"~standard": {
"vendor": "zod",
"version": 1
}
},
"typeName": "ZodArray"
},
"~standard": {
"vendor": "zod",
"version": 1
}
},
"participants": {
"_def": {
"description": "Optional participants information",
"innerType": {
"_cached": null,
"_def": {
"catchall": {
"_def": {
"typeName": "ZodNever"
},
"~standard": {
"vendor": "zod",
"version": 1
}
},
"typeName": "ZodObject",
"unknownKeys": "passthrough"
},
"~standard": {
"vendor": "zod",
"version": 1
}
},
"typeName": "ZodOptional"
},
"~standard": {
"vendor": "zod",
"version": 1
}
}
},
"required": [
"messages",
"conversation_id"
],
"type": "object"
}