Class ShowDataTool

java.lang.Object
com.axelor.ai.tool.data.ShowDataTool
All Implemented Interfaces:
SystemTool<ShowDataTool.Input>

public class ShowDataTool extends Object implements SystemTool<ShowDataTool.Input>
Shows one data widget in a chat answer: runs a query as the user and returns its result with the widget to draw it with.

The output is stored with the message like any tool output, so it is the widget's snapshot: reopening the chat draws the same rows, and nothing re-runs the query.