Class ChartAITools

java.lang.Object
com.vaadin.flow.component.ai.chart.ChartAITools

public final class ChartAITools extends Object
Factory for creating reusable chart LLMProvider.ToolSpec instances.

The tools use a chartId parameter to identify which chart to operate on, allowing a single set of tools to manage multiple charts (e.g., in a dashboard). Callers provide a ChartAITools.Callbacks implementation for state retrieval and mutation.

Author:
Vaadin Ltd