updateNode
Update a knowledge graph node by ID, changing its name, description, tags, files, or metadata to keep project information current.
Instructions
Update an existing node in the knowledge graph
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": {
"id": "<id>"
},
"name": "updateNode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | 要更新的节点 ID | |
| name | No | 新的节点名称 | |
| tags | No | 新的标签列表 | |
| files | No | 新的文件路径列表 | |
| metadata | No | 新的元数据 | |
| projectId | No | 项目 ID(可选,默认使用当前项目) | |
| description | No | 新的节点描述 |