Files
FastGPT/document/content/docs/upgrading/4-14
Archer be9317f601 fix: relax MCP tool JSON Schema Zod validation to handle non-standard types (#6455)
* fix: relax MCP tool JSON Schema Zod validation to accept any type values

MCP servers may return JSON Schema with type values outside the
standard 6 types. Use z.any() for type and items fields to avoid
500 errors on /api/core/app/mcpTools/getTools.

- Remove SchemaInputValueTypeSchema enum and SchemaInputValueType
- Remove unnecessary .passthrough()
- Use plain string type for function parameters

Fixes #6451

* fix: mcp adapt

---------

Co-authored-by: c121914yu <yucongcong_test@163.com>
2026-02-24 13:48:31 +08:00
..
2025-11-06 15:43:00 +08:00
2025-12-31 09:54:29 +08:00
2025-11-18 19:27:14 +08:00
2026-02-04 14:27:58 +08:00
2026-02-04 14:27:58 +08:00
2026-02-12 16:37:50 +08:00
2026-02-13 11:23:02 +08:00
2026-01-20 11:53:27 +08:00