@sqlrooms/mosaic / createDataTableExplorerTool
Function: createDataTableExplorerTool()
createDataTableExplorerTool(
deps):Tool<{artifactId?:string;tableName?:string;createArtifactIfMissing:boolean;panelId?:string;title:string;config: {pageSize?:number; };reasoning:string; }, {llmResult: {success:boolean;details:string;data:PanelResult;errorMessage?:undefined; }; } | {llmResult: {success:boolean;errorMessage:string;details?:undefined;data?:undefined; }; }>
Parameters
| Parameter | Type |
|---|---|
deps | DashboardToolDeps |
Returns
Tool<{ artifactId?: string; tableName?: string; createArtifactIfMissing: boolean; panelId?: string; title: string; config: { pageSize?: number; }; reasoning: string; }, { llmResult: { success: boolean; details: string; data: PanelResult; errorMessage?: undefined; }; } | { llmResult: { success: boolean; errorMessage: string; details?: undefined; data?: undefined; }; }>
