Recursive tool return type publishes an outputSchema with no root type, failing tools/list on 2025-11-25 sessions

当 MCP 工具的返回类型自引用(递归 BaseModel,以及 #3331 之后并入的递归 TypedDict)时,Pydantic 生成一个只含 $defs 和 $ref 、缺少根 "type": "object" 的 outputSchema。这与 2026-07-28 会话兼容,但在 202



![[v2] Expose request cancellation on MCPServer tool Context](https://www.chat-gpts.plus/wp-content/uploads/2026/11/3389-9eebc666-768x403.jpg)
![[Bug]: /toolset/{name}/mcp tools/list loses URL scope after catalog authority refresh (1.106.x regression)](https://www.chat-gpts.plus/wp-content/uploads/2026/11/47856-7893f7a0-768x403.jpg)



