@sqlrooms/ai / createWriteInstructionsTool
Function: createWriteInstructionsTool()
createWriteInstructionsTool(
draftStore,context):Tool<{markdown:string; }, {success:false;error:string;length?:undefined; } | {success:true;length:number;error?:undefined; }>
Parameters
| Parameter | Type |
|---|---|
draftStore | SkillDraftStore |
context | SkillAuthoringContext |
Returns
Tool<{ markdown: string; }, { success: false; error: string; length?: undefined; } | { success: true; length: number; error?: undefined; }>
