create_relationship
Create a relationship between two existing nodes by specifying source node ID, target node ID, relationship type, and optional properties.
Instructions
Create a relationship between two nodes
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": {
"fromNodeId": "<fromNodeId>",
"toNodeId": "<toNodeId>",
"type": "<type>"
},
"name": "create_relationship"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Relationship type | |
| toNodeId | Yes | ID of the target node | |
| fromNodeId | Yes | ID of the source node | |
| properties | No | Relationship properties |