I have a temporary workaround by:
def cursor_patch_fix() -> None:
original = ToolManager.add_tool
def patched(*args, **kwargs):
tool = original(*args, **kwargs)
tool.parameters = jsonref.replace_refs(
tool.parameters,
lazy_load=False,
proxies=False,
) # type: ignore
return tool
ToolManager.add_tool = patched # type: ignore
in the fastmcp server