nyarhi_add_node
Add a new node to a knowledge graph with a unique ID and type, including optional properties and store file.
Instructions
Add a typed node to the knowledge graph.
node_id is the unique id, node_type the node type (e.g. Person,
Company, Asset), props optional key/value properties written as
--prop k=v pairs, store an optional store file.
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_id": "<node_id>",
"type": "<type>"
},
"name": "nyarhi_add_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| props | No | ||
| store | No | ||
| node_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |