puppygraph_add_node
Adds a validated node type to the installed graph schema, creating it if none exists; invalid columns, types, or keys are rejected without changing the shared schema.
Instructions
Add one node type to the installed graph schema (creates the schema if there is none). Add all nodes first, then the edges between them. 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": {
"node": "<node>"
},
"name": "puppygraph_add_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) |