puppygraph_update_node
Replaces a node type in the installed PuppyGraph schema with a new definition under the same label, validating columns, types, and keys first so other elements remain unchanged if validation fails.
Instructions
Replace one node type of the installed schema with a new definition (same label). Changes the installed schema for everyone who queries this PuppyGraph; other elements stay as they are. The element is checked first (columns, types, keys) and nothing changes on a problem.
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": {
"label": "<label>",
"node": "<node>"
},
"name": "puppygraph_update_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | One node as in the graph schema: label, id, attribute, dataSourceGroup.externalDataSource (see puppygraph_schema_template) | |
| label | Yes | Label of the node to replace |