[GH-ISSUE #22259] issue: Tools are not sent to Ollama #58344

Closed
opened 2026-05-05 22:58:37 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @shinobijs on GitHub (Mar 5, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/22259

Check Existing Issues

  • I have searched for any existing and/or related issues.
  • I have searched for any existing and/or related discussions.
  • I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!).
  • I am using the latest version of Open WebUI.

Installation Method

Docker

Open WebUI Version

v0.8.8

Ollama Version (if applicable)

v0.17.5

Operating System

Debian Trixi

Browser (if applicable)

No response

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided every relevant configuration, setting, and environment variable used in my setup.
  • I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
  • I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
  • Start with the initial platform/version/OS and dependencies used,
  • Specify exact install/launch/configure commands,
  • List URLs visited, user input (incl. example values/emails/passwords if needed),
  • Describe all options and toggles enabled or changed,
  • Include any files or environmental changes,
  • Identify the expected and actual result at each stage,
  • Ensure any reasonably skilled user can follow and hit the same issue.

Expected Behavior

It is expected that tools are send to the model when activated in the chat.

Image

Actual Behavior

Tools are not in the message posted to the model. This was captured with tcpdump.

{"model": "qwen2.5-coder:7b", "messages": [{"role": "system", "content": "You have access to Tools. Use the tools to retrieve facts. Use a step-by-step reasoning process."}, {"role": "user", "content": "What is the current time"}], "stream": true, "options": {"num_ctx": 4096, "num_gpu": 40, "num_thread": 8}}

Steps to Reproduce

Steps:

  1. Install latest open-webui with docker compose.
  2. Install latest ollama with docker compose.
  3. Download "qwen2.5-coder:7b" model.
  4. Install mcpo with mcp-server-time.
  5. Enable mcp-server-time as tool and disable all other tools.
  6. Change tool calling to native.
  7. New chat with time tool active.
  8. Start tcpdump to monitor the messages.
  9. Submit chat.
  10. There are no tools in the message.

Logs & Screenshots

See above.

Additional Information

Tools verification is successful.

2026-03-05 10:48:31.041 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 10.0.1.1:0 - "GET /_app/version.json HTTP/1.1" 304 2026-03-05 10:48:33.605 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 10.0.1.1:0 - "POST /api/v1/configs/tool_servers/verify HTTP/1.1" 200

In older version the log also showed retrieving openapi.json, but this string no longer appears in the docker logs.

Originally created by @shinobijs on GitHub (Mar 5, 2026). Original GitHub issue: https://github.com/open-webui/open-webui/issues/22259 ### Check Existing Issues - [x] I have searched for any existing and/or related issues. - [x] I have searched for any existing and/or related discussions. - [x] I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!). - [x] I am using the latest version of Open WebUI. ### Installation Method Docker ### Open WebUI Version v0.8.8 ### Ollama Version (if applicable) v0.17.5 ### Operating System Debian Trixi ### Browser (if applicable) _No response_ ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have **provided every relevant configuration, setting, and environment variable used in my setup.** - [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc). - [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps: - Start with the initial platform/version/OS and dependencies used, - Specify exact install/launch/configure commands, - List URLs visited, user input (incl. example values/emails/passwords if needed), - Describe all options and toggles enabled or changed, - Include any files or environmental changes, - Identify the expected and actual result at each stage, - Ensure any reasonably skilled user can follow and hit the same issue. ### Expected Behavior It is expected that `tools` are send to the model when activated in the chat. <img width="1045" height="346" alt="Image" src="https://github.com/user-attachments/assets/e7c09652-69ae-4917-803f-ce8bf099123a" /> ### Actual Behavior Tools are not in the message posted to the model. This was captured with `tcpdump`. `` {"model": "qwen2.5-coder:7b", "messages": [{"role": "system", "content": "You have access to Tools. Use the tools to retrieve facts. Use a step-by-step reasoning process."}, {"role": "user", "content": "What is the current time"}], "stream": true, "options": {"num_ctx": 4096, "num_gpu": 40, "num_thread": 8}} `` ### Steps to Reproduce Steps: 1. Install latest open-webui with docker compose. 2. Install latest ollama with docker compose. 3. Download "qwen2.5-coder:7b" model. 4. Install mcpo with `mcp-server-time`. 5. Enable `mcp-server-time` as tool and disable all other tools. 6. Change tool calling to `native`. 7. New chat with `time` tool active. 8. Start tcpdump to monitor the messages. 9. Submit chat. 10. There are no tools in the message. ### Logs & Screenshots See above. ### Additional Information Tools verification is successful. `` 2026-03-05 10:48:31.041 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 10.0.1.1:0 - "GET /_app/version.json HTTP/1.1" 304 2026-03-05 10:48:33.605 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 10.0.1.1:0 - "POST /api/v1/configs/tool_servers/verify HTTP/1.1" 200 `` In older version the log also showed retrieving `openapi.json`, but this string no longer appears in the docker logs.
GiteaMirror added the bug label 2026-05-05 22:58:37 -05:00
Author
Owner

@n4gY1 commented on GitHub (Mar 5, 2026):

The tools is not working for me now either. (v0.8.5)

<!-- gh-comment-id:4004962759 --> @n4gY1 commented on GitHub (Mar 5, 2026): The tools is not working for me now either. (v0.8.5)
Author
Owner

@Classic298 commented on GitHub (Mar 5, 2026):

@n4gY1 please test latest

<!-- gh-comment-id:4005051206 --> @Classic298 commented on GitHub (Mar 5, 2026): @n4gY1 please test latest
Author
Owner

@n4gY1 commented on GitHub (Mar 5, 2026):

@n4gY1 please test latest

Latest working with tool 😁

<!-- gh-comment-id:4007012175 --> @n4gY1 commented on GitHub (Mar 5, 2026): > @n4gY1 please test latest Latest working with tool 😁
Author
Owner

@shinobijs commented on GitHub (Mar 5, 2026):

The issue disappeared. Unfortunately without understanding the root-cause.

<!-- gh-comment-id:4008528633 --> @shinobijs commented on GitHub (Mar 5, 2026): The issue disappeared. Unfortunately without understanding the root-cause.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#58344