graph_node_upsert
Add or update Knowledge Graph nodes for files, functions, symbols, structures, textures, audio, or crashes to keep project relationship data current.
Instructions
Add or update a node in the project Knowledge Graph (file, function, symbol, structure, texture, audio, crash).
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>",
"type": "<type>",
"label": "<label>"
},
"name": "graph_node_upsert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Unique node identifier, e.g. 'func:kart_update' | |
| type | Yes | Node type | |
| label | Yes | Human readable label | |
| props | No | Key-value properties |