MCP Neo4j Server

create_relationship

Create a relationship between two nodes

Input Schema

NameRequiredDescriptionDefault
fromNodeIdYesID of the source node
propertiesNoRelationship properties
toNodeIdYesID of the target node
typeYesRelationship type

Input Schema (JSON Schema)

{ "properties": { "fromNodeId": { "description": "ID of the source node", "type": "number" }, "properties": { "additionalProperties": true, "description": "Relationship properties", "type": "object" }, "toNodeId": { "description": "ID of the target node", "type": "number" }, "type": { "description": "Relationship type", "type": "string" } }, "required": [ "fromNodeId", "toNodeId", "type" ], "type": "object" }

You must be authenticated.

Other Tools