Expand description
Graph tool execution handlers.
Implements MCP tool handlers for knowledge graph operations:
- Entity CRUD operations
- Relationship management
- Graph traversal and queries
- LLM-powered entity extraction
- Entity deduplication
- Relationship inference
- Graph visualization
Functionsยง
- execute_
entities - Executes the entities tool (CRUD operations on entities).
- execute_
entity_ ๐create - execute_
entity_ ๐delete - execute_
entity_ ๐extract - Handles the
extractaction forsubcog_entities. - execute_
entity_ ๐find_ duplicates - Finds duplicate entities for the
mergeaction. - execute_
entity_ ๐get - execute_
entity_ ๐list - execute_
entity_ merge - Executes the entity merge tool (deduplication).
- execute_
entity_ ๐merge_ action - Handles the
mergeaction forsubcog_entities. - execute_
entity_ ๐merge_ impl - Merges entities for the
mergeaction. - execute_
extract_ entities - Executes the extract entities tool (LLM-powered extraction).
- execute_
find_ ๐duplicates - execute_
graph - Executes the consolidated
subcog_graphtool. - execute_
graph_ ๐neighbors - Handles the
neighborsoperation forsubcog_graph. - execute_
graph_ ๐path - Handles the
pathoperation forsubcog_graph. - execute_
graph_ query - Executes the graph query tool (traversal operations).
- execute_
graph_ ๐stats - Handles the
statsoperation forsubcog_graph. - execute_
graph_ visualize - Executes the graph visualization tool.
- execute_
graph_ ๐visualize_ action - Handles the
visualizeoperation forsubcog_graph. - execute_
merge ๐ - execute_
query_ ๐neighbors - execute_
query_ ๐path - execute_
query_ ๐stats - execute_
relationship_ ๐create - execute_
relationship_ ๐delete - execute_
relationship_ infer - Executes the relationship inference tool.
- execute_
relationship_ ๐infer_ action - Handles the
inferaction forsubcog_relationships. - execute_
relationship_ ๐list - execute_
relationships - Executes the relationships tool (CRUD operations on relationships).
- format_
type_ ๐counts - generate_
ascii ๐ - generate_
dot ๐ - generate_
mermaid ๐ - sanitize_
dot_ ๐id - sanitize_
mermaid_ ๐id - sanitize_
mermaid_ ๐label