MCPcopy Index your code
hub / github.com/simstudioai/sim / getMemoryId

Function getMemoryId

apps/sim/tools/mem0/get_memories.ts:14–15  ·  view source on GitHub ↗
(memory: unknown)

Source from the content-addressed store, hash-verified

12}
13
14const getMemoryId = (memory: unknown): string | undefined =>
15 isRecordLike(memory) && typeof memory.id === 'string' ? memory.id : undefined
16
17/**
18 * Get Memories Tool

Callers

nothing calls this directly

Calls 1

isRecordLikeFunction · 0.90

Tested by

no test coverage detected