Hello, I was trying out the new agentic update in knime. I created few tools. This is the directory to which I save the tools:
C:\Users\nikhi\knime-workspace\AI tools
Already present tools:
C:\Users\nikhi\knime-workspace\AI tools\company_info
C:\Users\nikhi\knime-workspace\AI tools\KNIME_project
I list the above mentioned folders using the list files/folder node. I use workflow to tool to convert it to a tool. But unfortunately, it does not get converted:
So I exported company_info and KNIME_project to another folder. Here are the contents of the folder:
C:\Users\nikhi\knime-workspace\AI tools workflow\KNIME_project.knwf
C:\Users\nikhi\knime-workspace\AI tools workflow\company_info.knwf
When I use workflow to tool node on this, it works:
Hello @nikhil_benny ,
It’s good to see that you are following the documentation and working on an Agentic use case, but you don’t have to export the workflows to a different folder every time.
You mentioned these were your already present tools,
Already present tools:
C:\Users\nikhi\knime-workspace\AI tools\company_info
C:\Users\nikhi\knime-workspace\AI tools\KNIME_project
I am guessing since they were not saved as a .knwf file, the workflow to tool could convert them to a tool.
You can simply reset and save the tool workflows every time you make a change, then reset the agent workflow before running, so that it considers the latest changes in the tool workflows. This should work fine.
Hi @sanket_2012 , thanks for your reply
I’m not sure I understood you right. Are you saying that I had to save it as a .knwf file instead of all the folders with the subfolders? If so, can you please instruct me on how to do it. I do not know of any method to save directly as knwf file.
Hi @nikhil_benny ,
My bad, you don’t have to save it as .knwf explicitly.
I just saw the description of the node: workflow to tool; it says, “If a workflow can’t be read, a missing value will be output instead.”
Can you try to create a folder called “tools” where your agent workflow is located, and then try using this configuration in the list files /folders node?
The point is, you don’t have to export every time. You can simply read the workflow from the “tools” folder, edit it, and save it there. However, ensure that you reset the agent workflow every time you make changes to the tools, so that the latest version of the workflow can be read.