link
Create a directed relation between two entities in the memory graph to model connections like FOUNDED, WORKS_AT, or OWNS. Duplicate relations are automatically skipped.
Instructions
Add a relation between two entities in the memory graph. Duplicate relations are skipped.
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": {
"from": "<from>",
"to": "<to>",
"relationType": "<relationType>"
},
"name": "link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target entity name | |
| from | Yes | Source entity name | |
| relationType | Yes | Type of relation (e.g. FOUNDED, WORKS_AT, USES, OWNS) |