relation_add
Add a temporal relation between entities, specifying validity period and conflict strategy (preserve, supersede, parallel) to manage overlapping facts.
Instructions
Add a temporal fact. preserve marks overlapping alternatives as conflicts; parallel allows coexistence; supersede requires an explicit old relation ID.
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": {
"source_entity_id": "<source_entity_id>",
"predicate": "<predicate>",
"target_entity_id": "<target_entity_id>"
},
"name": "relation_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | ||
| valid_to | No | ||
| namespace | No | ||
| predicate | Yes | ||
| attributes | No | ||
| confidence | No | ||
| supersedes | No | ||
| valid_from | No | ||
| source_entity_id | Yes | ||
| source_memory_id | No | ||
| target_entity_id | Yes | ||
| conflict_strategy | No | preserve |