kg_node
Retrieve, delete, or find semantically similar knowledge nodes from your personal knowledge graph. Manage node details and relationships in one place.
Instructions
Unified tool for node operations. Supports three operations: 'get' to retrieve a node with its relationships, 'delete' to remove a node, 'find_similar' to find semantically similar nodes.
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": {
"operation": "<operation>",
"id": "<id>"
},
"name": "kg_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the knowledge node to operate on. | |
| limit | No | [find_similar] Maximum number of similar nodes to return. | |
| operation | Yes | Operation to perform: 'get' retrieves node details, 'delete' removes the node, 'find_similar' finds similar nodes. | |
| threshold | No | [find_similar] Minimum similarity score (0-1). Higher = stricter matching. | |
| deleteEdges | No | [delete] Whether to also delete all relationships connected to this node. |