Update Relations
update_relationsChange existing relation types or repoint endpoints instead of deleting and recreating. Entries match current from/to/relationType; missing matches are reported while others continue.
Instructions
Prefer this to deleting a relation and creating another: change the type of existing relations and/or repoint their endpoints. Each entry is matched by its current from, to and relationType; a missing match is reported, not thrown, so the batch keeps its other entries.
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": {
"relations": "<relations>"
},
"name": "update_relations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relations | Yes | One entry per relation: its current from/to/relationType and the new values |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes |