MemoryVaultToolOptions
Defined in: src/lib/memoryVault/tool.ts:37
Options for creating a memory vault tool.
Properties
folderMap?
optionalfolderMap:Map<string,string>
Defined in: src/lib/memoryVault/tool.ts:58
Map of folder names to folder IDs for auto-classification. When provided, the LLM can specify a folderName argument.
onSave()?
optionalonSave: (operation:VaultSaveOperation) =>Promise<boolean>
Defined in: src/lib/memoryVault/tool.ts:46
Callback invoked before each save operation.
Return true to confirm the save, false to cancel it.
When provided, the confirmation is built into the executor. When not provided, the tool has no executor and is emitted via onToolCall so the host app can handle it.
Parameters
| Parameter | Type |
|---|---|
|
|
Returns
Promise<boolean>
scope?
optionalscope:string
Defined in: src/lib/memoryVault/tool.ts:52
Scope to assign to new memories. Defaults to “private”. This is injected by the client, not controlled by the LLM.