Skip to content

buildMemoryBlockTool

function buildMemoryBlockTool(opts): AiSdkTool<{
action: "replace" | "view" | "add" | "remove";
block: string;
content?: string;
match?: string;
}, unknown>;
Parameter Type

opts

MemoryBlockToolOptions

AiSdkTool<{ action: "replace" | "view" | "add" | "remove"; block: string; content?: string; match?: string; }, unknown>