read_graph
Retrieve the complete knowledge graph to access stored information and learned lessons from previous interactions.
Instructions
Read the entire knowledge graph
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- index.ts:666-668 (handler)Core handler function for reading the entire knowledge graph by delegating to loadGraph(). This is the main logic executed by the tool.async readGraph(): Promise<KnowledgeGraph> { return this.loadGraph(); }
- index.ts:1062-1069 (registration)Registration of the 'read_graph' tool in the list returned by ListToolsRequestHandler, including name, description, and empty input schema.{ name: "read_graph", description: "Read the entire knowledge graph", inputSchema: { type: "object", properties: {}, }, },
- index.ts:1238-1239 (handler)Dispatch handler in CallToolRequestSchema that executes the read_graph tool by calling knowledgeGraphManager.readGraph() and returning JSON-formatted response.case "read_graph": return { content: [{ type: "text", text: JSON.stringify(await knowledgeGraphManager.readGraph(), null, 2) }] };