update_node
Modify knowledge graph nodes by updating their names, descriptions, file paths, or metadata to maintain accurate and current information within the graph structure.
Instructions
Modify nodes in the knowledge graph. This tool must be used in conjunction with list_graphs and get_node_details tools. Use cases:
Update basic node information (name, description, etc.)
Update file paths associated with nodes
Update node metadata information
Usage recommendations:
First call list_graphs to get target graph and node ID
Use get_node_details to check current node status
Only update fields that need to be modified, keep others unchanged
After updating, call get_node_details again to confirm changes
Return data:
data: Updated node information
id: Node ID
name: Node name
type: Node type
description: Node description
filePath: Associated file path
metadata: Node metadata
updatedAt: Update time
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graphId | Yes | Graph ID, must be obtained from list_graphs return data | |
| nodeId | Yes | Node ID, must be obtained from nodes array in list_graphs | |
| name | No | New node name (optional) | |
| description | No | New node description (optional) | |
| filePath | No | New associated file path (optional) | |
| metadata | No | New node metadata (optional) |