Create Relations
create_relationsCreate multiple new relations between entities in a knowledge graph to connect related nodes. Use active voice for relation types within an existing namespace.
Instructions
Create multiple new relations between entities in the knowledge graph. Relations should be in active voice
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": {
"namespace": "<namespace>",
"relations": "<relations>"
},
"name": "create_relations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | Yes | The namespace to operate in (required). It must already exist: create it with create_namespace, and list the existing ones with list_namespaces. Namespaces are isolated from each other: the same entity name can exist in several, and a relation only connects entities in its own namespace. | |
| relations | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relations | Yes |