Skip to content

@sqlrooms/ai / createWriteManifestTool

Function: createWriteManifestTool()

createWriteManifestTool(draftStore, context): Tool<{ name: string; description: string; author?: string; }, { success: false; error: string; manifest?: undefined; } | { success: true; manifest: { name: string; description: string; author: string | undefined; }; error?: undefined; }>

Parameters

ParameterType
draftStoreSkillDraftStore
contextSkillAuthoringContext

Returns

Tool<{ name: string; description: string; author?: string; }, { success: false; error: string; manifest?: undefined; } | { success: true; manifest: { name: string; description: string; author: string | undefined; }; error?: undefined; }>