update_ai_memory_item
Update an AI memory item (partial). Stamps updated_at. Set entity + entity_id to re-attach a note to a record (e.g. entity='lead', entity_id=); pass entity_id null to make it tenant-wide. category is a free topical label. occurred_at (ISO) = the fact's original date in its source system. Use this to fix mis-scoped notes instead of delete+recreate. (Legacy: parent_id is accepted as entity_id.)
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": {
"item_id": "<item_id>"
},
"name": "update_ai_memory_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name of the AI memory item | |
| entity | No | lead|contact|account|campaign|user|asbest_project|raumbuchung_booking; null = tenant-wide | |
| source | No | Where the fact comes from (provenance) | |
| content | No | New text content of the memory item | |
| item_id | Yes | ID of the item to change | |
| category | No | Free topical label | |
| entity_id | No | Record id to attach to; null = tenant-wide | |
| parent_id | No | Legacy alias for entity_id | |
| occurred_at | No | ISO date the fact originated in its source system |