addNode
Add a node to a semantic knowledge graph to model business logic, code relationships, and project structure. Provide a unique ID, type, name, and description to create the node.
Instructions
Add a new node to the knowledge graph
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | 节点唯一标识符(kebab-case) | |
| name | Yes | 节点显示名称 | |
| tags | No | 节点标签 | |
| type | Yes | 节点类型 | |
| files | No | 关联的文件路径 | |
| metadata | No | 自定义元数据 | |
| projectId | No | 项目 ID(可选,默认使用当前项目) | |
| description | Yes | 节点语义描述 |