diff --git a/homeassistant/components/ovhcloud_ai_endpoints/entity.py b/homeassistant/components/ovhcloud_ai_endpoints/entity.py index 7bdaf5948315..0acf9d63a263 100644 --- a/homeassistant/components/ovhcloud_ai_endpoints/entity.py +++ b/homeassistant/components/ovhcloud_ai_endpoints/entity.py @@ -43,7 +43,11 @@ def _format_tool( """Format tool specification.""" tool_spec = FunctionDefinition( name=tool.name, - parameters=to_openapi(tool.parameters, custom_serializer=custom_serializer), + parameters=to_openapi( + tool.parameters, + custom_serializer=custom_serializer, + openapi_version="3.1.0", + ), ) if tool.description: tool_spec["description"] = tool.description