search_short_term_memories
Find relevant recent conversation memories by searching against current message context. Retrieve top matches, related items, and random flashbacks from short-term memory storage.
Instructions
Search and retrieve relevant short-term memories based on recent conversation context. Returns top relevant, next relevant, and random flashback memories.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| recentMessages | Yes | ||
| conversation_id | Yes | ||
| roleWeights | No |
Input Schema (JSON Schema)
{
"properties": {
"conversation_id": {
"_def": {
"checks": [],
"coerce": false,
"description": "Current conversation ID",
"typeName": "ZodString"
},
"~standard": {
"vendor": "zod",
"version": 1
}
},
"recentMessages": {
"_def": {
"description": "Recent messages to search against",
"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
}
},
"roleWeights": {
"_def": {
"innerType": {
"_cached": null,
"_def": {
"catchall": {
"_def": {
"typeName": "ZodNever"
},
"~standard": {
"vendor": "zod",
"version": 1
}
},
"typeName": "ZodObject",
"unknownKeys": "strip"
},
"~standard": {
"vendor": "zod",
"version": 1
}
},
"typeName": "ZodOptional"
},
"~standard": {
"vendor": "zod",
"version": 1
}
}
},
"required": [
"recentMessages",
"conversation_id"
],
"type": "object"
}