read_graph
Access and interpret the full knowledge graph stored in the MemoryMesh MCP server to retrieve structured data and insights efficiently.
Instructions
Read the entire knowledge graph
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The handler function for the 'read_graph' tool, which retrieves the entire knowledge graph via the knowledgeGraphManager and formats the response.
case "read_graph": const graph = await this.knowledgeGraphManager.readGraph(); return formatToolResponse({ data: graph, actionTaken: "Read complete knowledge graph" }); - src/integration/tools/registry/staticTools.ts:178-185 (registration)Registration of the 'read_graph' tool including its name, description, and empty input schema.
{ name: "read_graph", description: "Read the entire knowledge graph", inputSchema: { type: "object", properties: {}, }, }, - Input schema definition for the 'read_graph' tool, which requires no parameters.
inputSchema: { type: "object", properties: {}, }, - src/integration/tools/handlers/ToolHandlerFactory.ts:46-47 (registration)Routing logic in ToolHandlerFactory that directs 'read_graph' tool calls to the SearchToolHandler.
if (toolName.match(/^(read_graph|search_nodes|open_nodes)$/)) { return this.searchHandler;