create_relations
Create directed relations between entities in a knowledge graph. Each relation specifies a source, target, and type; duplicates are ignored.
Instructions
Create relations between entities in the knowledge graph.
Each dict has: from (str), to (str), relationType (str). Duplicate relations are silently ignored.
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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |