mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-10 23:55:15 -05:00
[GH-ISSUE #20823] issue: Documentation confusing: Events are supported in OpenAPI based tools or not? #122609
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 @reuschling on GitHub (Jan 20, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/20823
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.7.2
Ollama Version (if applicable)
0.12.6
Operating System
Linux
Browser (if applicable)
Firefox
Confirmation
README.md.Expected Behavior
In the documentation, there is the explanation for the use of events inside tools: https://docs.openwebui.com/features/plugin/development/events/. It is not clear (to me) if this is also possible with tools implemented with an OpenAPI service. I suggest that this should be possible, but I am not sure how - there is no clear documentation on this. Nevertheless, there are some hints in the documentation:
In the case mcpo can offer SSE support, and due to the fact that mcpo creates an OpenAPI compatible server, this means that there must be SSE support for OpenAPI services. 1. gives the hint that MCP supports tool events.
Thus, I implemented a REST service with a "Content-Type:text/event-stream" response. I asked ChatGpt due to the lack of further documentation on this point and it says that now I can return events inside the stream, with the format
as specified in the OpenWebUI documentation here. I know of course that this can be a hallucination, and it didn't work either.
I am currently totally confused if events with OpenApi tools are possible or not, but it is clear to me that the documentation leads me to this assumption. So there is at least a lack in
This pull request initiated from this discussion talks about the possibility to use SeverSentEvents (SSE) from a backend. This is not from the documentation, but it is a further hint that events over SSE could be sent possibly from a tool OpenApi server also.
(If there is at the end no support for events with remote tools, I will create an according feature request as follow-up to this documentation issue)
Actual Behavior
--
Steps to Reproduce
--
Logs & Screenshots
--
Additional Information
No response
@owui-terminator[bot] commented on GitHub (Jan 20, 2026):
🔍 Similar Issues Found
I found some existing issues that might be related to this one. Please check if any of these are duplicates or contain helpful solutions:
#20544 issue: Document uploading - Docling API
by n4gY1 • Jan 10, 2026 •
bug#20762 issue: "Navigate to the Knowledge section" is confusing documentation
by robogeek • Jan 17, 2026 •
bug#20775 issue: calls to tools in gpt-oss
by chdid • Jan 18, 2026 •
bug💡 Tips:
This comment was generated automatically by a bot. Please react with a 👍 if this comment was helpful, or a 👎 if it was not.
@Classic298 commented on GitHub (Jan 20, 2026):
Please open documentation questions in docs repo not here.
Then i can look into it