open-webui/backend
Classic298 f3f9af594f
fix: MCP tools whose input has alternative forms are called with no arguments (#32903)
* fix: MCP tools that list their arguments under anyOf are called with no arguments

When an MCP tool described its input as alternatives, for example a page by id or by path and locale, and had no top-level list of fields, every argument the model sent was dropped and the tool was called with nothing, so the server rejected the call. Arguments for MCP tools now reach the server as the model sent them, and the MCP server checks them against its own schema. Other tool types still keep only the arguments their schema lists.

Fixes #32898

* refac: shorten the MCP arguments comment

The comment now only says why MCP tools skip the argument filter.
2026-10-25 06:22:08 +09:00
..
data refac: mv backend files to /open_webui dir 2024-09-04 16:54:48 +02:00
open_webui fix: MCP tools whose input has alternative forms are called with no arguments (#32903) 2026-10-25 06:22:08 +09:00
.dockerignore fix: litellm config issue 2024-02-24 22:35:11 -08:00
.gitignore refac 2024-09-06 04:59:20 +02:00
dev.sh perf: allow disabling websocket per-message-deflate (#28613) 2026-08-24 18:46:07 -04:00
requirements-slim.txt chore: bump Brotli to 1.2.1 and brotlicffi to 1.2.1.0 (#33073) 2026-10-25 04:49:42 +09:00
requirements.txt chore: bump Brotli to 1.2.1 and brotlicffi to 1.2.1.0 (#33073) 2026-10-25 04:49:42 +09:00
start.sh chore: Python 3.12 and Debian 13 base image (#32861) 2026-10-22 04:51:57 +09:00
start_windows.bat chore: drop nltk, unused at the pinned versions (#29725) 2026-09-06 16:39:05 -04:00