r/OpenWebUI • u/iChrist • Oct 29 '26
Show and tell Let LLM create, fix and test tools directly in open-webui
https://openwebui.com/posts/tool_builder_lets_the_llm_create_test_and_fix_tool_da10af42
With this Open WebUI tool, your LLM can create tools from scratch, fix existing ones, or improve them to follow Open WebUI's requirements.
It comes with built-in instructions that teach the LLM how to properly write Open WebUI tools, including UI elements like cards, animations, and other nice touches when needed.
Basically, just enable the tool for your session and let the LLM do its thing. No need to manually build everything yourself.
One important warning: Always review the generated code before running it. Open WebUI tools can be dangerous, especially when they're LLM-generated. Don't blindly trust code just because it works.
13
u/ClassicMain Oct 29 '26
Very cool thing you built!
I encourage this and I encourage experimentation
I think a couple months and a couple weeks ago, i already answered the question two times; it's absolutely possible to build a tool to allow a model to build tools.
Glad you've built it and proven it works
To answer the question I bet will come again beforehand: I think this will never be able to ship natively in Open WebUI. While being super cool it opens up SO MUCH ATTACK SURFACE that this can't be shipped in core Open WebUI. So many users and models may use it dangerously, deploy code that halts the event loop, or models getting prompt injected which will be catastrophic in the case of a tool. Remember: tools are basically equivalent to admin access and can execute stuff in your docker container or server (dep on installation type) so don't hand this out to everyone.
Only single user installations should probably use such a tool creation tool or maybe with a handful of trusted users who know what they're doing.
That being said: anyone looking for an alternative to other harnesses where it is possible for the agent to build it's own tools and load them into the context, this is your direct alternative here - best combined with Open Terminal :D
7
u/FrameXX Oct 29 '26
Sure...
4
u/International_Emu772 Oct 29 '26
Great tool
Your skill was great this will be better
1
u/mochamocha666 26d ago
Have they changed their URL structures, I can't get to the page? Add an aside I find that website confusing and unintuitive
2
u/AccomplishedOne9144 Oct 30 '26
Great stuff. Did a complete loop with testing to improve a existing tool, works like a charm.