Encode Memory
encode_memoryStore a new long-term memory with a chosen tier, salience weight, and key-value context so agents can retain structured, searchable knowledge across sessions.
Instructions
Store a new memory with tier classification (episodic, semantic, buffer, core), salience weight, and key-value context metadata.
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": {
"content": "<content>"
},
"name": "encode_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Memory tier: episodic, semantic, buffer, or core. | episodic |
| content | Yes | Memory content to store. | |
| context | No | Optional list of [key, value] metadata pairs. | |
| salience | No | Importance weight between 0.0 and 1.0. | |
| namespace | No | Project or workspace namespace (e.g. pwd with "/" replaced by "-"). |