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.
Alternatives Considered
No response
Additional Context
No response
Originally created by @Lutherwaves on GitHub (May 28, 2025).
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.

### Alternatives Considered
_No response_
### Additional Context
_No response_
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @Lutherwaves on GitHub (May 28, 2025).
Originally assigned to: @tjbck on GitHub.
Check Existing Issues
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
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.
Alternatives Considered
No response
Additional Context
No response
@tjbck commented on GitHub (Sep 27, 2025):
Added to dev!