mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-22 06:02:06 -05:00
feat: Restrict tool usage #5741
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 @yoyo-ouo on GitHub (Jul 11, 2025).
Check Existing Issues
Problem Description
I found that the model does not support disabling the use of tools. When I added the OpenAPI-compatible external tool server in the admin panel, even though I did not check the tool option in the model settings, I could still see the disabled tool during conversations, as shown in the image below:
This is not user-friendly for those who want strict control over permissions.
Additionally, I couldn't find any constraints regarding the use of the OpenAPI-compatible external tool server in the permission group settings.
Desired Solution you'd like
The model settings should allow for constraints on the use of tools, specifying which tools can be used and which cannot. Tools that are not allowed should be invisible during chats.
I would also like to have a disable unused tools feature, which would prevent users from disabling tools that have already been enabled in the settings. I believe this can help control the model's fixed capabilities. I would also like this feature to be customizable for each individual tool.
Note:
Alternatives Considered
No response
Additional Context
No response
@jack9603301 commented on GitHub (Jul 11, 2025):
这是国际社区,你就不能用英语吗?
@tjbck commented on GitHub (Jul 11, 2025):