Skip to main content
Glama

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:

  1. Update basic node information (name, description, etc.)

  2. Update file paths associated with nodes

  3. Update node metadata information

Usage recommendations:

  1. First call list_graphs to get target graph and node ID

  2. Use get_node_details to check current node status

  3. Only update fields that need to be modified, keep others unchanged

  4. 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

TableJSON Schema
NameRequiredDescriptionDefault
graphIdYesGraph ID, must be obtained from list_graphs return data
nodeIdYesNode ID, must be obtained from nodes array in list_graphs
nameNoNew node name (optional)
descriptionNoNew node description (optional)
filePathNoNew associated file path (optional)
metadataNoNew node metadata (optional)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aiuluna/knowledge-graph-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server