create_relations
Define new relationships between existing code entities by specifying source, target, and relation type.
Instructions
Create multiple new relations between existing entities.
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": "create_relations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relations | Yes | Array of partial relation objects to create. 'from', 'to', and 'relationType' are required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes |