mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[GH-ISSUE #14577] issue: Tool calling BROKEN #55967
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @KyleF0X on GitHub (Jun 1, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/14577
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.13
Ollama Version (if applicable)
0.9.0
Operating System
windows 11
Browser (if applicable)
Firefox
Confirmation
README.md.Expected Behavior
For the qwen3:30b-a3b to call tools and answer the question.
As can be seen here Claude 3.7 via open router, it can correctly use the tool.
Actual Behavior
Half the time qwen3:30b-a3b says is cant use tool,

the other half of the time it makes the tool call, but never answer.
Steps to Reproduce
install LLM - ollama run qwen3:30b-a3b
setup mcpo time server
have mcpo setup to share the tool
Select qwen3:30b-a3b in open-webui as chat model
change chat controls "function calling" to "native"
Ask for time in your city
Logs & Screenshots
openwebui console logs.txt
Additional Information
as im using claude via openrouter.ai API, and qwen3:30b-a3b is a local llm, perhaps this has something to do with Ollama?
@KyleF0X commented on GitHub (Jun 1, 2025):
When i try do a time tool call with DeepSeek-R1-0528-Qwen3-8B-GGUF:Q5_K_XL i get a different error
@EntropyYue commented on GitHub (Jun 1, 2025):
Claude can use tools, which indicates that there are no issues with tool invocation. The reason why Qwen3-30b cannot be use tools may be due to too few activation parameters in the model.
@EntropyYue commented on GitHub (Jun 1, 2025):
The problem with the Deepseek distillation model is that it does not support tool calls under the default template
@KyleF0X commented on GitHub (Jun 1, 2025):
yes from testing tonight, i have determined deepseek 0528 tool calls are not supported yet
I have directly tested qwen3:30b-a3b in ollama via CMD, and tools work, so the issue is in open-webui, still investigating
@EntropyYue commented on GitHub (Jun 1, 2025):
I used qwen3-30b for testing, and it works fine in my environment
@taylorwilsdon commented on GitHub (Jun 1, 2025):
qwen3:30bworks with default tool calling through mcpo for me just fine:The issue seems to be that it falls apart when trying to decide to invoke native tool calling, not getting the full output in the context. My guess is you've got the context set to the default (super small) and it's running out of tokens thinking and then doesn't know where it is
I've confirmed that is indeed the case - works fine when I increase num_ctx from 2048 to 12000.
@peskyAdmin commented on GitHub (Jun 2, 2025):
it is not working for me with qwen3:30b. I also am able to add a tool via local host at the user level, but the connection fails at the global level
@taylorwilsdon commented on GitHub (Jun 2, 2025):
Global tool servers have to be enabled in the chat by clicking the "Plus" icon unless they're explicitly forced on for the specific model in the model configuration settings. User added tools are automatically enabled for all models. Just a different distribution method, as you don't necessarily want to force every tool on for every user and every model when you add a global tool option.
@peskyAdmin commented on GitHub (Jun 2, 2025):
I was able to get the tool configured in admin globale and enabled it with the plus. a few comments.
| aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host localhost:8000 ssl:default [Connect call failed ('127.0.0.1', 8000)]I have manually verified the mcpo server is working and verified the mcp server is wroking from the mcpo ui. I have tried with llama3.2:latest and qwen3:30b
for what its worth im using gitea mcp
@KyleF0X commented on GitHub (Jun 2, 2025):
Ok so in my ADMIN account, qwen3:30b-a3b CANT call tools. gets confused thinks it cant uses tools, then tries and hangs.
BUT, i just created a test user account, and it calls the tool no problem
So... is there something broken with the admin user?
@KyleF0X commented on GitHub (Jun 2, 2025):
Not sure what you mena "clicking the PLUS icon"?
Here are my tool configs
@peskyAdmin commented on GitHub (Jun 2, 2025):
ive configured the tool both as global and as user. ive tried a few different models none will use the tool