Relations between entities
kanka_relationsManage relationships between entities using global entity IDs. Create, read, update, delete, or list relations, with optional reciprocal links.
Instructions
List, read, create, update, or delete relations between entities. Relations hang off the GLOBAL entity_id of the source. The target_id in data is the global entity_id of the destination. Set two_way: true to create reciprocal relations.
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": {
"campaign_id": "<campaign_id>",
"entity_id": "<entity_id>",
"action": "<action>"
},
"name": "kanka_relations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaign_id | Yes | ||
| entity_id | Yes | The GLOBAL entity_id (not the type-scoped id) | |
| action | Yes | ||
| id | No | ||
| data | No | ||
| confirm | No | ||
| page | No |