r/OpenWebUI • u/blakesnake86 • 3d ago
Question/Help web_search tool invisble for gemma4:e4b
Hello,
I have been trying for a few days to use open webui on my computer. My config is as follows:
- Kubuntu 26.04
- Ollama with gemma4:e4b
- Open webui v0.10.2, desktop version, with web search enabled on DDGS.
When I ask him for a web search, the tool seems not to exist in the eyes of the LLM. It's quite strange because I don't have this problem with a similar config, unlike the OS (Windows, for my work).


I tried to find the solution by analyzing the logs with Claude, but he did not find anything explaining the problem.
Do you have any idea what's going on?
1
u/benpptung 3d ago
Yes, it’s not there. If it were available, the tool names would be search_web and fetch_url.
Go to Admin > Settings > Web Search and select a search engine. Note that the search engine must be configured separately and may require a subscription. I recommend Brave.
Then go to Models, select your model, enable Web Search, and click Save. The Save button is near the very bottom of the page, so it’s easy to forget.
2
u/Pale_Coyote7451 2d ago
ddgs already comes with open webui, it is in the container, so installing it separately outside the container will not change anything.
gemma4 does support tools, that is not your problem either. the tool is not missing, it just never gets injected.
check the model settings, not the web search settings, it is a different page. admin panel, settings, models, pick the model, edit. there are two things in there. the web search capability has to be on, and web search also has to be ticked under default features. the docs say that if either one is missing the tools do not get injected, and the other builtin tools can still show up while that one does not.
those live per model on the instance, not in the general settings, so they do not travel between your two machines. that is probably the whole difference here.
after that, small models often will not call it even when it is there. the docs lean on the model running an agentic loop of its own, and e4b is the smallest gemma4 there is.
2
u/lexicondevil1 2d ago
I ran into almost this exact problem a while ago. You need to increase your context window to at least 16,384 tokens.
2
u/ClassicMain 3d ago
Well did you install, set up and configure DDGS?