Skip to content

knowledge_tools

diapason.tools.knowledge_tools

MCP tools for knowledge graph operations.

KGAddEntityTool

Bases: BaseTool

Add an entity to the knowledge graph.

KGAddRelationTool

Bases: BaseTool

Add a relation between two entities in the knowledge graph.

KGNeighborsTool

Bases: BaseTool

Find neighboring entities in the knowledge graph.

KGQueryTool

Bases: BaseTool

Query the knowledge graph by entity/relation type patterns.