create_relations
Creates relationships between entities in a knowledge graph memory, linking source and target nodes by relationship type and optionally auto-creating missing entities.
Instructions
Create relationships between entities in knowledge graph (memory)
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": {
"relations": "<relations>"
},
"name": "create_relations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relations | Yes | List of relations to create | |
| memory_zone | No | Optional default memory zone specifier. Used if a relation doesn't specify fromZone or toZone. | |
| auto_create_missing_entities | No | Whether to automatically create missing entities in the relations (default: true) |