create_relations
Establish directed connections between entities, skipping duplicates. Define source, target, and relation type. Enhances entity mapping and organization within a persistent, offline MCP server environment.
Instructions
Create directed relations between entities. Skips existing relations.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
relations | Yes | Array of relations to create. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"relations": {
"description": "Array of relations to create.",
"items": {
"additionalProperties": false,
"properties": {
"from": {
"description": "Source entity name.",
"type": "string"
},
"relationType": {
"description": "Label or type of the relation.",
"type": "string"
},
"to": {
"description": "Target entity name.",
"type": "string"
}
},
"required": [
"from",
"to",
"relationType"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"relations"
],
"type": "object"
}