#292·UFO

UFO2 代理程序尝试错误调用 click_input 工具

作者: Sorcecoder创建于 2026年3月11日更新于 2026年3月25日

[03/11/26 12:33:17] ERROR 执行工具 'click_input' 时出错 tool_manager.py:226 ╭───────────────── Traceback (most recent call last) ─────────────────╮ │ C:\Users\skadmin\anaconda3\envs\\ufo\lib\site-packages\fastmcp\tools │ │ \tool_manager.py:222 in call_tool │ │ │ │ 219 │ │ │ │ raise NotFoundError(f"Tool {key!r} not found" │ │ 220 │ │ │ │ │ 221 │ │ │ try: │ │ ❱ 222 │ │ │ │ return await tool.run(arguments) │ │ 223 │ │ │ │ │ 224 │ │ │ # raise ToolErrors as-is │ │ 225 │ │ │ except ToolError as e: │ │ │ │ C:\Users\skadmin\anaconda3\envs\\ufo\lib\site-packages\fastmcp\tools │ │ \tool.py:295 in run │ │ │ │ 292 │ │ │ arguments[context_kwarg] = get_context() │ │ 293 │ │ │ │ 294 │ │ type_adapter = get_cached_typeadapter(self.fn) │ │ ❱ 295 │ │ result = type_adapter.validate_python(arguments) │ │ 296 │ │ │ │ 297 │ │ if inspect.isawaitable(result): │ │ 298 │ │ │ result = await result │ │ │ │ C:\Users\skadmin\anaconda3\envs\\ufo\lib\site-packages\pydantic\type │ │ _adapter.py:421 in validate_python │ │ │ │ 418 │ │ │ │ code='validate-by-alias-and-name-false', │ │ 419 │ │ │ ) │ │ 420 │ │