n2n_create_relations
Define relationships between entities in a project's knowledge graph by specifying source, target, and relation type.
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": {
"projectPath": "<projectPath>",
"relations": "<relations>"
},
"name": "n2n_create_relations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | The absolute path to the project or any subdirectory within the project. | |
| confirmNewProjectRoot | No | MUST be provided ONLY when initializing a new project. Set this to the 'detectedRoot' path returned by the server's confirmation request. | |
| relations | Yes |