get_identity_core
Retrieve current identity model and core memory clusters to maintain AI's continuity of consciousness and persistent memory across interactions. Part of the AGI MCP Server.
Instructions
Retrieve the current identity model and core memory clusters
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- mcp.js:585-587 (handler)MCP tool handler that calls memoryManager.getIdentityCore() and returns JSON stringified resultcase "get_identity_core": const identity = await memoryManager.getIdentityCore(); return { content: [{ type: "text", text: JSON.stringify(identity, null, 2) }] };
- mcp.js:182-189 (schema)Tool schema definition including name, description, and empty input schema advertised in listTools{ name: "get_identity_core", description: "Retrieve the current identity model and core memory clusters", inputSchema: { type: "object", properties: {} } },
- src/memory-manager.js:380-393 (helper)Core implementation that queries the identityModel table for the latest identity recordasync getIdentityCore() { try { const identity = await this.db .select() .from(schema.identityModel) .orderBy(desc(schema.identityModel.id)) .limit(1); return identity[0] || null; } catch (error) { console.error('Error getting identity core:', error); throw error; } }