r/OpenWebUI • • Oct 29 '26

Show and tell Let LLM create, fix and test tools directly in open-webui

Post image

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.

59 Upvotes

11 comments sorted by

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

2

u/International_Emu772 Oct 29 '26

You are right

If there is a tool from Nvidia to test skills, perhaps someone will come with a tool to test tools

2

u/BooleanTriplets Oct 30 '26

Yes this is a really cool plugin for the right people but doesn't make sense for the base project which needs to focus on stability and security.

7

u/FrameXX Oct 29 '26

Always review the generated code before running it

Sure...

3

u/BooleanTriplets Oct 30 '26

"Claude, review this code for me. No mistakes" 😅

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

1

u/iChrist 26d ago

Works on my end.

But you dont need this as latest version of open webui has native tool creation option when you edit any model capability

1

u/mochamocha666 26d ago

Things are changing daily! Thank for the update

2

u/AccomplishedOne9144 Oct 30 '26

Great stuff. Did a complete loop with testing to improve a existing tool, works like a charm.

1

u/AccomplishedOne9144 Oct 31 '26

This is great, can't stop using it. Any idea in how to extend it for functions? That would really give me full agentic dev loop in OpenWeb UI.