Create Relations
create_relationsCreate multiple new relations between existing entities in the knowledge graph. Duplicate relations are skipped and only added ones are returned.
Instructions
Create multiple new relations between entities in the knowledge graph. Relations should be in active voice. Both endpoints must already exist: one missing name fails the whole call with "Entity with name … not found". A relation that is already present is skipped, so the response lists only the ones added.
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 | The relations to create, each with its from, to and relationType |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relations | Yes |