delete_short_term_memories
Remove short-term memories by keyword or regex pattern to manage conversation data and maintain relevant information in memory systems.
Instructions
Delete short-term memories matching a keyword or regex pattern.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | ||
| conversation_id | Yes |
Input Schema (JSON Schema)
{
"properties": {
"conversation_id": {
"_def": {
"checks": [],
"coerce": false,
"description": "Conversation ID for storage",
"typeName": "ZodString"
},
"~standard": {
"vendor": "zod",
"version": 1
}
},
"pattern": {
"_def": {
"checks": [],
"coerce": false,
"description": "String keyword or regex pattern to match (e.g., \"keyword\" or \"/pattern/i\")",
"typeName": "ZodString"
},
"~standard": {
"vendor": "zod",
"version": 1
}
}
},
"required": [
"pattern",
"conversation_id"
],
"type": "object"
}