[GH-ISSUE #14446] feat: Allow uploading openapi.json file for tools #120567

Closed
opened 2026-05-20 22:11:21 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @Lutherwaves on GitHub (May 28, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/14446

Originally assigned to: @tjbck on GitHub.

Check Existing Issues

  • I have searched the existing issues and discussions.

Problem Description

With the recent addition of tools, we support adding custom paths for openapi.json (https://github.com/open-webui/open-webui/issues/13160).

What would be nice, is if we can also add support for uploading the openapi.json OR yaml for the tool to use. This is useful for cases where the service providers do not expose the endpoint (for whatever reason). Example: New Todoist API https://developer.todoist.com/api/v1 only allows you to download the openapi.json.

Desired Solution you'd like

  • Add option to upload openapi.json (drag & drop) to the modal
  • When the openapi.json or openapi.yaml is uploaded successfully, display success message, or error otherwise (MVS+1 error if openapi.json is not a valid openapi.json)
  • When file is uploaded, display the name-of-the-file uploaded as the source for the oepnapi and hide "openapi.json URL or Path" section, add an "x" at the end allowing users to remove the existing uploaded file.

Not sure if above UX is the one we want, but we have enough brains here to figure it out as we go, so let's use it as a reference.

Image

Alternatives Considered

No response

Additional Context

No response

Originally created by @Lutherwaves on GitHub (May 28, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/14446 Originally assigned to: @tjbck on GitHub. ### Check Existing Issues - [x] I have searched the existing issues and discussions. ### Problem Description With the recent addition of tools, we support adding custom paths for openapi.json (https://github.com/open-webui/open-webui/issues/13160). What would be nice, is if we can also add support for uploading the openapi.json OR yaml for the tool to use. This is useful for cases where the service providers do not expose the endpoint (for whatever reason). Example: New Todoist API https://developer.todoist.com/api/v1 only allows you to download the openapi.json. ### Desired Solution you'd like - Add option to upload openapi.json (drag & drop) to the modal - When the openapi.json or openapi.yaml is uploaded successfully, display success message, or error otherwise (MVS+1 error if openapi.json is not a valid openapi.json) - When file is uploaded, display the name-of-the-file uploaded as the source for the oepnapi and hide "openapi.json URL or Path" section, add an "x" at the end allowing users to remove the existing uploaded file. Not sure if above UX is the one we want, but we have enough brains here to figure it out as we go, so let's use it as a reference. ![Image](https://github.com/user-attachments/assets/d4fae052-5d5c-4e65-b008-8bf7ba7593bf) ### Alternatives Considered _No response_ ### Additional Context _No response_
Author
Owner

@tjbck commented on GitHub (Sep 27, 2025):

Added to dev!

<!-- gh-comment-id:3341132443 --> @tjbck commented on GitHub (Sep 27, 2025): Added to dev!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#120567