Files
open-webui/backend/open_webui/utils
Classic298andGitHub 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
..
2026-10-24 04:50:12 +09:00
2026-10-14 17:10:08 +04:00
…
2026-10-14 23:58:58 +04:00
2026-10-12 17:29:04 +04:00
…
2026-10-21 09:26:26 +09:00
…
…
…
…
…
2026-10-14 23:21:22 +04:00
2026-10-22 07:40:01 +09:00
…
2026-10-16 04:20:53 +04:00
2026-10-16 14:31:39 +04:00
…
2026-10-16 14:31:39 +04:00
…
2026-10-14 23:21:22 +04:00
…