I just realised that Agent tools with Views will display in chat

Hi KNIME,

Last weeks KNIME Summit in Munich, I bumped into @MartinDDDD.

I got a chance to ask, if he had been able to make visualisation appear in the Agent Chat or how he would solve that?

He said: Sure, just put a view node in the top layer of an agent tool workflow and tick the setting to show views in Agent Chat settings.

And behold! I could verify that, and was able to make a few test tools, that would show such views.

I learned, that the “old” Javascript views don’t work, and I needed change to the new view nodes.

But now I want to make dynamic graphs. So the Agent should be able to use a tool with a query (sql / cypher), to get a table of data, and then feed data to a tool with Apache E Chart, and dynamically make a suitable graph.

Have anyone experimented with this in an Agent setup and perhaps share some insights or tips?