create_relation
Creates a relation linking two entities in the Geo knowledge graph. Specify source, target, and relation type to define structured connections between knowledge nodes.
Instructions
Create a relation between two entities
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": {
"fromEntity": "<fromEntity>",
"toEntity": "<toEntity>",
"type": "<type>"
},
"name": "create_relation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Relation type entity ID | |
| position | No | Position string for ordering | |
| toEntity | Yes | Target entity ID | |
| fromEntity | Yes | Source entity ID |