linkNodes
Creates a typed relationship between two nodes to map dependencies, flows, and triggers within a project's knowledge graph.
Instructions
Create a relationship between two nodes
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | 目标节点 ID | |
| from | Yes | 源节点 ID | |
| type | Yes | 关系类型 | |
| metadata | No | 自定义元数据 | |
| strength | No | 关系强度 (0-1) | |
| projectId | No | 项目 ID(可选,默认使用当前项目) | |
| description | No | 关系描述 |