update_relation
Add, update, or delete relationships with people, devices, AIs, and organizations to manage an agent's social connections.
Instructions
Update relationships with external entities (people, devices, AIs, organizations).
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": {
"entity_name": "<entity_name>",
"relation_type": "<relation_type>",
"action": "<action>"
},
"name": "update_relation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Operation: upsert / delete | |
| content | No | Relationship description (required for upsert) | |
| entity_name | Yes | Entity name or identifier | |
| relation_type | Yes | Entity type: person / device / ai / organization |