Create ai memory item
create_ai_memory_itemSave an agent memory note. Pass 'mem_key' to make this an upsert — calling again with the same mem_key (+ same agent_id/brain_id) updates the existing note instead of creating a duplicate.
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": {
"name": "<name>",
"description": "<description>"
},
"name": "create_ai_memory_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| entity | No | ||
| mem_key | No | ||
| agent_id | No | ||
| brain_id | No | ||
| entity_id | No | ||
| importance | No | ||
| visibility | No | 'private' notes are redacted from export_brain. | |
| description | Yes |