KIROK_retain
Store new information in agent memory with automatic entity extraction and smart deduplication to prevent redundant entries.
Instructions
Store new information in agent memory.
Automatically extracts entities and keywords, generates a semantic embedding, and indexes for later retrieval.
Smart Deduplication (inspired by Mem0): If the new content is highly similar to existing memories (cosine > 0.85), the system will decide whether to ADD (new info), UPDATE (enrich existing), or NOOP (skip).
Args: bank_id: Memory bank identifier (e.g. 'antigravity', 'user-prefs'). content: The information to remember. context: Optional context about the source (e.g. 'project meeting'). timestamp: Optional ISO 8601 timestamp. Defaults to now.
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": {
"bank_id": "<bank_id>",
"content": "<content>"
},
"name": "KIROK_retain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bank_id | Yes | ||
| content | Yes | ||
| context | No | ||
| timestamp | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |