π Open WebUI Integration
Overviewβ
Open WebUI v0.6+ supports seamless integration with external tools via the OpenAPI servers β meaning you can easily extend your LLM workflows using custom or community-powered tool servers π§°.
In this guide, you'll learn how to launch an OpenAPI-compatible tool server and connect it to Open WebUI through the intuitive user interface. Letβs get started! π
Step 1: Launch an OpenAPI Tool Serverβ
To begin, you'll need to start one of the reference tool servers available in the openapi-servers repo. For quick testing, weβll use the time tool server as an example.
π οΈ Example: Starting the time
server locally
git clone https://github.com/open-webui/openapi-servers
cd openapi-servers
# Navigate to the time server
cd servers/time
# Install required dependencies
pip install -r requirements.txt
# Start the server
uvicorn main:app --host 0.0.0.0 --reload
Once running, this will host a local OpenAPI server at http://localhost:8000, which you can point Open WebUI to.
Step 2: Connect Tool Server in Open WebUIβ
Next, connect your running tool server to Open WebUI:
- Open WebUI in your browser.
- Open βοΈβ―Settings.
- Click on β Tools to add a new tool server.
- Enter the URL where your OpenAPI tool server is running (e.g., http://localhost:8000).
- Click "Save".
Step 3: Confirm Your Tool Server Is Connected β β
Once your tool server is successfully connected, Open WebUI will display a π tool server indicator directly in the message input area:
π You'll now see this icon below the input box:
Clicking this icon opens a popup where you can:
- View connected tool server information
- See which tools are available and which server they're provided by
- Debug or disconnect any tool if needed
π Hereβs what the tool information modal looks like:
Need More Tools? Explore & Expand! π§±β
The openapi-servers repo includes a variety of useful reference servers:
- π Filesystem access
- π§ Memory & knowledge graphs
- ποΈ Git repo browsing
- π Web search (WIP)
- π’οΈ Database querying (WIP)
You can run any of these in the same way and connect them to Open WebUI by repeating the steps above.
Troubleshooting & Tips π§©β
- β Not connecting? Make sure the URL is correct and accessible from the browser used to run Open WebUI.
- π If you're using remote servers, check firewalls and HTTPS configs!
- π To make servers persist, consider deploying them in Docker or with system services.
Need help? Visit the π Discussions page or open an issue.