MCPcopy
hub / github.com/rohitg00/agentmemory / set

Method set

src/state/kv.ts:13–18  ·  view source on GitHub ↗
(scope: string, key: string, value: T)

Source from the content-addressed store, hash-verified

11 }
12
13 async set<T = unknown>(scope: string, key: string, value: T): Promise<T> {
14 return this.sdk.trigger<{ scope: string; key: string; value: T }, T>({
15 function_id: 'state::set',
16 payload: { scope, key, value },
17 })
18 }
19
20 async update<T = unknown>(
21 scope: string,

Callers 15

stashForFunction · 0.45
subtaskSetForFunction · 0.45
toolCallSetForFunction · 0.45
AgentmemoryCapturePluginFunction · 0.45
withKeyedLockFunction · 0.45
initFunction · 0.45
mockKVFunction · 0.45
mockSdkFunction · 0.45
mockKVFunction · 0.45
slots.test.tsFile · 0.45

Calls

no outgoing calls

Tested by 15

mockKVFunction · 0.36
mockSdkFunction · 0.36
mockKVFunction · 0.36
mockKVFunction · 0.36
mockSdkFunction · 0.36
mockKVFunction · 0.36
mockSdkFunction · 0.36
mockKVFunction · 0.36
mockKVFunction · 0.36
mockSdkFunction · 0.36
mockKVFunction · 0.36
mockSdkFunction · 0.36