@sqlrooms/mosaic / createWorksheetAgentTool
Function: createWorksheetAgentTool()
createWorksheetAgentTool<
TState>(options):Tool
Creates an AI agent tool for building interactive data analysis worksheets with charts, text, and dashboard blocks.
Type Parameters
| Type Parameter | Description |
|---|---|
TState extends MosaicDashboardStoreState | Store state type extending MosaicDashboardStoreState |
Parameters
| Parameter | Type | Description |
|---|---|---|
options | CreateWorksheetAgentToolOptions<TState> | Configuration options for the worksheet agent |
Returns
Tool
Tool instance that orchestrates multi-turn worksheet creation via a ToolLoopAgent
