mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 19:38:46 -05:00
[GH-ISSUE #21440] feat: Option to hide Tool Call JSON (arguments/results) from the Chat UI #58148
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 @ldpg-dev on GitHub (Feb 15, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/21440
Check Existing Issues
Verify Feature Scope
Problem Description
This is great for non-technical users and almost every other chat UI has this already... It makes the AI feel more like a seamless agent and less like a debugger. It also prevents leaking internal JSON structures, SQL fragments, or technical IDs to the end-user.
Currently, Open WebUI streams tool calls to the frontend by injecting
<details type="tool_calls">tags directly into the message content via the middleware. While this is great for transparency, it can be intimidating or "unfriendly" for non-technical users to see raw JSON arguments and results, especially for tools that handle complex data or internal lookups.I would like to propose a way to hide the JSON window (the black code block) or the entire tool call UI for specific tools or via a global setting.
Desired Solution you'd like
<details>tag.Alternatives Considered
No response
Additional Context
No response
@Classic298 commented on GitHub (Feb 15, 2026):
Heavily Related: https://github.com/open-webui/open-webui/issues/20598