memory_upsert
Create or update a canonical memory when one clear match exists, keeping stored agent context accurate and avoiding duplicate entries.
Instructions
Create a new memory or update an existing canonical memory when there is one clear match.
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": "memory_upsert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | No | Memory area (default: general) | |
| name | No | Summary or title of the memory | |
| tags | No | Tags for categorization | |
| content | Yes | The content to store in memory | |
| project | No | Project identifier for organization | |
| metadata | No | Graph relationships or extra properties | |
| match_name | No | Optional stable name to use for matching instead of name | |
| allow_create | No | If false, do not create a new memory when no match is found |