graph_upsert_entity
Upsert a knowledge graph entity: create or update by name and type, with custom attributes, to maintain persistent memory of people, projects, or concepts.
Instructions
Create or update an entity in the knowledge graph. If an entity with the same name exists, it will be updated.
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>",
"entityType": "<entityType>"
},
"name": "graph_upsert_entity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| storeId | No | Optional store ID to target a specific registered store instead of the active one | |
| name | Yes | Entity name (human-readable identifier) | |
| entityType | Yes | Type of entity (e.g., "person", "project", "concept") | |
| attrs | No | Optional key-value attributes for the entity |