mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
[GH-ISSUE #14097] feat: Provide JWT (or similar) to "tools" #55806
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 @brainboutique on GitHub (May 20, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/14097
Check Existing Issues
Problem Description
It would be highly benefitial to provide current user context to Tools call - for example, as a JWT token (with configurable server key). This way the response could be tailored to, for example, user permissions, user role or similar.
Desired Solution you'd like
A standardized way for Tools code to access user context - like email - in a trusted way.
Alternatives Considered
See #13457 or #13608
Additional Context
No response
@brainboutique commented on GitHub (May 20, 2025):
Missed the existing support for this param:
__user__.get("email")