diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ChatFunctionTool.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ChatFunctionTool.g.cs index 1217029c..22cea11b 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ChatFunctionTool.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ChatFunctionTool.g.cs @@ -59,19 +59,12 @@ public class ChatFunctionToolJsonConverter : global::System.Text.Json.Serializat var __score4 = 0; if (__jsonProps.Contains("parameters")) __score4++; if (__jsonProps.Contains("parameters.allowed_domains")) __score4++; + if (__jsonProps.Contains("parameters.blocked_domains")) __score4++; if (__jsonProps.Contains("parameters.engine")) __score4++; - if (__jsonProps.Contains("parameters.excluded_domains")) __score4++; - if (__jsonProps.Contains("parameters.max_results")) __score4++; - if (__jsonProps.Contains("parameters.max_total_results")) __score4++; - if (__jsonProps.Contains("parameters.search_context_size")) __score4++; - if (__jsonProps.Contains("parameters.user_location")) __score4++; + if (__jsonProps.Contains("parameters.max_content_tokens")) __score4++; + if (__jsonProps.Contains("parameters.max_uses")) __score4++; if (__jsonProps.Contains("type")) __score4++; var __score5 = 0; - if (__jsonProps.Contains("allowed_domains")) __score5++; - if (__jsonProps.Contains("engine")) __score5++; - if (__jsonProps.Contains("excluded_domains")) __score5++; - if (__jsonProps.Contains("max_results")) __score5++; - if (__jsonProps.Contains("max_total_results")) __score5++; if (__jsonProps.Contains("parameters")) __score5++; if (__jsonProps.Contains("parameters.allowed_domains")) __score5++; if (__jsonProps.Contains("parameters.engine")) __score5++; @@ -80,14 +73,29 @@ public class ChatFunctionToolJsonConverter : global::System.Text.Json.Serializat if (__jsonProps.Contains("parameters.max_total_results")) __score5++; if (__jsonProps.Contains("parameters.search_context_size")) __score5++; if (__jsonProps.Contains("parameters.user_location")) __score5++; - if (__jsonProps.Contains("search_context_size")) __score5++; if (__jsonProps.Contains("type")) __score5++; - if (__jsonProps.Contains("user_location")) __score5++; - if (__jsonProps.Contains("user_location.city")) __score5++; - if (__jsonProps.Contains("user_location.country")) __score5++; - if (__jsonProps.Contains("user_location.region")) __score5++; - if (__jsonProps.Contains("user_location.timezone")) __score5++; - if (__jsonProps.Contains("user_location.type")) __score5++; + var __score6 = 0; + if (__jsonProps.Contains("allowed_domains")) __score6++; + if (__jsonProps.Contains("engine")) __score6++; + if (__jsonProps.Contains("excluded_domains")) __score6++; + if (__jsonProps.Contains("max_results")) __score6++; + if (__jsonProps.Contains("max_total_results")) __score6++; + if (__jsonProps.Contains("parameters")) __score6++; + if (__jsonProps.Contains("parameters.allowed_domains")) __score6++; + if (__jsonProps.Contains("parameters.engine")) __score6++; + if (__jsonProps.Contains("parameters.excluded_domains")) __score6++; + if (__jsonProps.Contains("parameters.max_results")) __score6++; + if (__jsonProps.Contains("parameters.max_total_results")) __score6++; + if (__jsonProps.Contains("parameters.search_context_size")) __score6++; + if (__jsonProps.Contains("parameters.user_location")) __score6++; + if (__jsonProps.Contains("search_context_size")) __score6++; + if (__jsonProps.Contains("type")) __score6++; + if (__jsonProps.Contains("user_location")) __score6++; + if (__jsonProps.Contains("user_location.city")) __score6++; + if (__jsonProps.Contains("user_location.country")) __score6++; + if (__jsonProps.Contains("user_location.region")) __score6++; + if (__jsonProps.Contains("user_location.timezone")) __score6++; + if (__jsonProps.Contains("user_location.type")) __score6++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } @@ -96,11 +104,13 @@ public class ChatFunctionToolJsonConverter : global::System.Text.Json.Serializat if (__score3 > __bestScore) { __bestScore = __score3; __bestIndex = 3; } if (__score4 > __bestScore) { __bestScore = __score4; __bestIndex = 4; } if (__score5 > __bestScore) { __bestScore = __score5; __bestIndex = 5; } + if (__score6 > __bestScore) { __bestScore = __score6; __bestIndex = 6; } global::OpenRouter.ChatFunctionTool0? chatFunctionTool0 = default; global::OpenRouter.DatetimeServerTool? datetimeServerTool = default; global::OpenRouter.ImageGenerationServerToolOpenRouter? imageGenerationServerToolOpenRouter = default; global::OpenRouter.ChatSearchModelsServerTool? chatSearchModelsServerTool = default; + global::OpenRouter.WebFetchServerTool? webFetchServerTool = default; global::OpenRouter.OpenRouterWebSearchServerTool? openRouterWebSearchServerTool = default; global::OpenRouter.ChatWebSearchShorthand? chatWebSearchShorthand = default; if (__bestIndex >= 0) @@ -166,6 +176,21 @@ public class ChatFunctionToolJsonConverter : global::System.Text.Json.Serializat } } else if (__bestIndex == 4) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.WebFetchServerTool), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.WebFetchServerTool).Name}"); + webFetchServerTool = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + else if (__bestIndex == 5) { try { @@ -180,7 +205,7 @@ public class ChatFunctionToolJsonConverter : global::System.Text.Json.Serializat { } } - else if (__bestIndex == 5) + else if (__bestIndex == 6) { try { @@ -197,7 +222,7 @@ public class ChatFunctionToolJsonConverter : global::System.Text.Json.Serializat } } - if (chatFunctionTool0 == null && datetimeServerTool == null && imageGenerationServerToolOpenRouter == null && chatSearchModelsServerTool == null && openRouterWebSearchServerTool == null && chatWebSearchShorthand == null) + if (chatFunctionTool0 == null && datetimeServerTool == null && imageGenerationServerToolOpenRouter == null && chatSearchModelsServerTool == null && webFetchServerTool == null && openRouterWebSearchServerTool == null && chatWebSearchShorthand == null) { try { @@ -251,6 +276,19 @@ public class ChatFunctionToolJsonConverter : global::System.Text.Json.Serializat { } + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.WebFetchServerTool), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.WebFetchServerTool).Name}"); + webFetchServerTool = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + try { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.OpenRouterWebSearchServerTool), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? @@ -287,6 +325,8 @@ public class ChatFunctionToolJsonConverter : global::System.Text.Json.Serializat chatSearchModelsServerTool, + webFetchServerTool, + openRouterWebSearchServerTool, chatWebSearchShorthand @@ -328,6 +368,12 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ChatSearchModelsServerTool).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.ChatSearchModelsServerTool!, typeInfo); } + else if (value.IsWebFetchServerTool) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.WebFetchServerTool), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.WebFetchServerTool).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.WebFetchServerTool!, typeInfo); + } else if (value.IsOpenRouterWebSearchServerTool) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.OpenRouterWebSearchServerTool), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.MessagesRequestToolsItems.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.MessagesRequestToolsItems.g.cs index 2fa4e03c..a3f8d4be 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.MessagesRequestToolsItems.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.MessagesRequestToolsItems.g.cs @@ -103,13 +103,21 @@ public class MessagesRequestToolsItemsJsonConverter : global::System.Text.Json.S var __score8 = 0; if (__jsonProps.Contains("parameters")) __score8++; if (__jsonProps.Contains("parameters.allowed_domains")) __score8++; + if (__jsonProps.Contains("parameters.blocked_domains")) __score8++; if (__jsonProps.Contains("parameters.engine")) __score8++; - if (__jsonProps.Contains("parameters.excluded_domains")) __score8++; - if (__jsonProps.Contains("parameters.max_results")) __score8++; - if (__jsonProps.Contains("parameters.max_total_results")) __score8++; - if (__jsonProps.Contains("parameters.search_context_size")) __score8++; - if (__jsonProps.Contains("parameters.user_location")) __score8++; + if (__jsonProps.Contains("parameters.max_content_tokens")) __score8++; + if (__jsonProps.Contains("parameters.max_uses")) __score8++; if (__jsonProps.Contains("type")) __score8++; + var __score9 = 0; + if (__jsonProps.Contains("parameters")) __score9++; + if (__jsonProps.Contains("parameters.allowed_domains")) __score9++; + if (__jsonProps.Contains("parameters.engine")) __score9++; + if (__jsonProps.Contains("parameters.excluded_domains")) __score9++; + if (__jsonProps.Contains("parameters.max_results")) __score9++; + if (__jsonProps.Contains("parameters.max_total_results")) __score9++; + if (__jsonProps.Contains("parameters.search_context_size")) __score9++; + if (__jsonProps.Contains("parameters.user_location")) __score9++; + if (__jsonProps.Contains("type")) __score9++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } @@ -121,6 +129,7 @@ public class MessagesRequestToolsItemsJsonConverter : global::System.Text.Json.S if (__score6 > __bestScore) { __bestScore = __score6; __bestIndex = 6; } if (__score7 > __bestScore) { __bestScore = __score7; __bestIndex = 7; } if (__score8 > __bestScore) { __bestScore = __score8; __bestIndex = 8; } + if (__score9 > __bestScore) { __bestScore = __score9; __bestIndex = 9; } global::OpenRouter.MessagesRequestToolsItems0? messagesRequestToolsItems0 = default; global::OpenRouter.MessagesRequestToolsItems1? messagesRequestToolsItems1 = default; @@ -130,6 +139,7 @@ public class MessagesRequestToolsItemsJsonConverter : global::System.Text.Json.S global::OpenRouter.DatetimeServerTool? datetimeServerTool = default; global::OpenRouter.ImageGenerationServerToolOpenRouter? imageGenerationServerToolOpenRouter = default; global::OpenRouter.ChatSearchModelsServerTool? chatSearchModelsServerTool = default; + global::OpenRouter.WebFetchServerTool? webFetchServerTool = default; global::OpenRouter.OpenRouterWebSearchServerTool? openRouterWebSearchServerTool = default; if (__bestIndex >= 0) { @@ -254,6 +264,21 @@ public class MessagesRequestToolsItemsJsonConverter : global::System.Text.Json.S } } else if (__bestIndex == 8) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.WebFetchServerTool), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.WebFetchServerTool).Name}"); + webFetchServerTool = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + else if (__bestIndex == 9) { try { @@ -270,7 +295,7 @@ public class MessagesRequestToolsItemsJsonConverter : global::System.Text.Json.S } } - if (messagesRequestToolsItems0 == null && messagesRequestToolsItems1 == null && messagesRequestToolsItems2 == null && messagesRequestToolsItems3 == null && messagesRequestToolsItems4 == null && datetimeServerTool == null && imageGenerationServerToolOpenRouter == null && chatSearchModelsServerTool == null && openRouterWebSearchServerTool == null) + if (messagesRequestToolsItems0 == null && messagesRequestToolsItems1 == null && messagesRequestToolsItems2 == null && messagesRequestToolsItems3 == null && messagesRequestToolsItems4 == null && datetimeServerTool == null && imageGenerationServerToolOpenRouter == null && chatSearchModelsServerTool == null && webFetchServerTool == null && openRouterWebSearchServerTool == null) { try { @@ -376,6 +401,19 @@ public class MessagesRequestToolsItemsJsonConverter : global::System.Text.Json.S { } + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.WebFetchServerTool), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.WebFetchServerTool).Name}"); + webFetchServerTool = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + try { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.OpenRouterWebSearchServerTool), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? @@ -407,6 +445,8 @@ public class MessagesRequestToolsItemsJsonConverter : global::System.Text.Json.S chatSearchModelsServerTool, + webFetchServerTool, + openRouterWebSearchServerTool ); @@ -470,6 +510,12 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ChatSearchModelsServerTool).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.ChatSearchModelsServerTool!, typeInfo); } + else if (value.IsWebFetchServerTool) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.WebFetchServerTool), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.WebFetchServerTool).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.WebFetchServerTool!, typeInfo); + } else if (value.IsOpenRouterWebSearchServerTool) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.OpenRouterWebSearchServerTool), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ResponsesRequestToolsItems.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ResponsesRequestToolsItems.g.cs index 3d827491..65e9047f 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ResponsesRequestToolsItems.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ResponsesRequestToolsItems.g.cs @@ -161,9 +161,17 @@ public class ResponsesRequestToolsItemsJsonConverter : global::System.Text.Json. if (__jsonProps.Contains("type")) __score16++; var __score17 = 0; if (__jsonProps.Contains("parameters")) __score17++; - if (__jsonProps.Contains("parameters.max_results")) __score17++; - if (__jsonProps.Contains("parameters.max_total_results")) __score17++; + if (__jsonProps.Contains("parameters.allowed_domains")) __score17++; + if (__jsonProps.Contains("parameters.blocked_domains")) __score17++; + if (__jsonProps.Contains("parameters.engine")) __score17++; + if (__jsonProps.Contains("parameters.max_content_tokens")) __score17++; + if (__jsonProps.Contains("parameters.max_uses")) __score17++; if (__jsonProps.Contains("type")) __score17++; + var __score18 = 0; + if (__jsonProps.Contains("parameters")) __score18++; + if (__jsonProps.Contains("parameters.max_results")) __score18++; + if (__jsonProps.Contains("parameters.max_total_results")) __score18++; + if (__jsonProps.Contains("type")) __score18++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } @@ -184,6 +192,7 @@ public class ResponsesRequestToolsItemsJsonConverter : global::System.Text.Json. if (__score15 > __bestScore) { __bestScore = __score15; __bestIndex = 15; } if (__score16 > __bestScore) { __bestScore = __score16; __bestIndex = 16; } if (__score17 > __bestScore) { __bestScore = __score17; __bestIndex = 17; } + if (__score18 > __bestScore) { __bestScore = __score18; __bestIndex = 18; } global::OpenRouter.ResponsesRequestToolsItems0? responsesRequestToolsItems0 = default; global::OpenRouter.PreviewWebSearchServerTool? previewWebSearchServerTool = default; @@ -202,6 +211,7 @@ public class ResponsesRequestToolsItemsJsonConverter : global::System.Text.Json. global::OpenRouter.DatetimeServerTool? datetimeServerTool = default; global::OpenRouter.ImageGenerationServerToolOpenRouter? imageGenerationServerToolOpenRouter = default; global::OpenRouter.ChatSearchModelsServerTool? chatSearchModelsServerTool = default; + global::OpenRouter.WebFetchServerTool? webFetchServerTool = default; global::OpenRouter.WebSearchServerToolOpenRouter? webSearchServerToolOpenRouter = default; if (__bestIndex >= 0) { @@ -461,6 +471,21 @@ public class ResponsesRequestToolsItemsJsonConverter : global::System.Text.Json. } } else if (__bestIndex == 17) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.WebFetchServerTool), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.WebFetchServerTool).Name}"); + webFetchServerTool = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + else if (__bestIndex == 18) { try { @@ -477,7 +502,7 @@ public class ResponsesRequestToolsItemsJsonConverter : global::System.Text.Json. } } - if (responsesRequestToolsItems0 == null && previewWebSearchServerTool == null && preview20250311WebSearchServerTool == null && legacyWebSearchServerTool == null && webSearchServerTool == null && fileSearchServerTool == null && computerUseServerTool == null && codeInterpreterServerTool == null && mcpServerTool == null && imageGenerationServerTool == null && codexLocalShellTool == null && shellServerTool == null && applyPatchServerTool == null && customTool == null && datetimeServerTool == null && imageGenerationServerToolOpenRouter == null && chatSearchModelsServerTool == null && webSearchServerToolOpenRouter == null) + if (responsesRequestToolsItems0 == null && previewWebSearchServerTool == null && preview20250311WebSearchServerTool == null && legacyWebSearchServerTool == null && webSearchServerTool == null && fileSearchServerTool == null && computerUseServerTool == null && codeInterpreterServerTool == null && mcpServerTool == null && imageGenerationServerTool == null && codexLocalShellTool == null && shellServerTool == null && applyPatchServerTool == null && customTool == null && datetimeServerTool == null && imageGenerationServerToolOpenRouter == null && chatSearchModelsServerTool == null && webFetchServerTool == null && webSearchServerToolOpenRouter == null) { try { @@ -700,6 +725,19 @@ public class ResponsesRequestToolsItemsJsonConverter : global::System.Text.Json. { } + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.WebFetchServerTool), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.WebFetchServerTool).Name}"); + webFetchServerTool = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + try { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.WebSearchServerToolOpenRouter), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? @@ -749,6 +787,8 @@ public class ResponsesRequestToolsItemsJsonConverter : global::System.Text.Json. chatSearchModelsServerTool, + webFetchServerTool, + webSearchServerToolOpenRouter ); @@ -866,6 +906,12 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ChatSearchModelsServerTool).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.ChatSearchModelsServerTool!, typeInfo); } + else if (value.IsWebFetchServerTool) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.WebFetchServerTool), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.WebFetchServerTool).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.WebFetchServerTool!, typeInfo); + } else if (value.IsWebSearchServerToolOpenRouter) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.WebSearchServerToolOpenRouter), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.WebFetchEngineEnum.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.WebFetchEngineEnum.g.cs new file mode 100644 index 00000000..79aba58a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.WebFetchEngineEnum.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class WebFetchEngineEnumJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.WebFetchEngineEnum Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.WebFetchEngineEnumExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.WebFetchEngineEnum)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.WebFetchEngineEnum); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.WebFetchEngineEnum value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.WebFetchEngineEnumExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.WebFetchEngineEnumNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.WebFetchEngineEnumNullable.g.cs new file mode 100644 index 00000000..e27d4d8a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.WebFetchEngineEnumNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class WebFetchEngineEnumNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.WebFetchEngineEnum? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.WebFetchEngineEnumExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.WebFetchEngineEnum)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.WebFetchEngineEnum?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.WebFetchEngineEnum? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.WebFetchEngineEnumExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.WebFetchServerToolType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.WebFetchServerToolType.g.cs new file mode 100644 index 00000000..27322959 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.WebFetchServerToolType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class WebFetchServerToolTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.WebFetchServerToolType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.WebFetchServerToolTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.WebFetchServerToolType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.WebFetchServerToolType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.WebFetchServerToolType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.WebFetchServerToolTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.WebFetchServerToolTypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.WebFetchServerToolTypeNullable.g.cs new file mode 100644 index 00000000..274efe6d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.WebFetchServerToolTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class WebFetchServerToolTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.WebFetchServerToolType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.WebFetchServerToolTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.WebFetchServerToolType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.WebFetchServerToolType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.WebFetchServerToolType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.WebFetchServerToolTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs index 0744d0e3..aee6bd0d 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs @@ -537,6 +537,14 @@ namespace OpenRouter typeof(global::OpenRouter.JsonConverters.ChatSearchModelsServerToolTypeNullableJsonConverter), + typeof(global::OpenRouter.JsonConverters.WebFetchEngineEnumJsonConverter), + + typeof(global::OpenRouter.JsonConverters.WebFetchEngineEnumNullableJsonConverter), + + typeof(global::OpenRouter.JsonConverters.WebFetchServerToolTypeJsonConverter), + + typeof(global::OpenRouter.JsonConverters.WebFetchServerToolTypeNullableJsonConverter), + typeof(global::OpenRouter.JsonConverters.WebSearchServerToolOpenRouterTypeJsonConverter), typeof(global::OpenRouter.JsonConverters.WebSearchServerToolOpenRouterTypeNullableJsonConverter), @@ -2014,6 +2022,10 @@ namespace OpenRouter [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SearchModelsServerToolConfig))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatSearchModelsServerToolType), TypeInfoPropertyName = "ChatSearchModelsServerToolType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatSearchModelsServerTool))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.WebFetchEngineEnum), TypeInfoPropertyName = "WebFetchEngineEnum2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.WebFetchServerToolConfig))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.WebFetchServerToolType), TypeInfoPropertyName = "WebFetchServerToolType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.WebFetchServerTool))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.WebSearchServerToolOpenRouterParameters))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.WebSearchServerToolOpenRouterType), TypeInfoPropertyName = "WebSearchServerToolOpenRouterType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.WebSearchServerToolOpenRouter))] diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs index 9c4f7b6f..5fa1b163 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs @@ -1236,3119 +1236,3135 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::OpenRouter.WebSearchServerToolOpenRouterParameters? Type302 { get; set; } + public global::OpenRouter.WebFetchEngineEnum? Type302 { get; set; } /// /// /// - public global::OpenRouter.WebSearchServerToolOpenRouterType? Type303 { get; set; } + public global::OpenRouter.WebFetchServerToolConfig? Type303 { get; set; } /// /// /// - public global::OpenRouter.WebSearchServerToolOpenRouter? Type304 { get; set; } + public global::OpenRouter.WebFetchServerToolType? Type304 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestToolsItems? Type305 { get; set; } + public global::OpenRouter.WebFetchServerTool? Type305 { get; set; } /// /// /// - public global::OpenRouter.TraceConfig? Type306 { get; set; } + public global::OpenRouter.WebSearchServerToolOpenRouterParameters? Type306 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesTruncation? Type307 { get; set; } + public global::OpenRouter.WebSearchServerToolOpenRouterType? Type307 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequest? Type308 { get; set; } + public global::OpenRouter.WebSearchServerToolOpenRouter? Type308 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type309 { get; set; } + public global::OpenRouter.ResponsesRequestToolsItems? Type309 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type310 { get; set; } + public global::OpenRouter.TraceConfig? Type310 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type311 { get; set; } + public global::OpenRouter.OpenAIResponsesTruncation? Type311 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type312 { get; set; } + public global::OpenRouter.ResponsesRequest? Type312 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type313 { get; set; } + public global::System.Collections.Generic.IList? Type313 { get; set; } /// /// /// - public global::OpenRouter.ResponsesErrorFieldCode? Type314 { get; set; } + public global::System.Collections.Generic.IList? Type314 { get; set; } /// /// /// - public global::OpenRouter.ResponsesErrorField? Type315 { get; set; } + public global::System.Collections.Generic.IList? Type315 { get; set; } /// /// /// - public global::OpenRouter.IncompleteDetailsReason? Type316 { get; set; } + public global::OpenRouter.OneOf? Type316 { get; set; } /// /// /// - public global::OpenRouter.IncompleteDetails? Type317 { get; set; } + public global::System.Collections.Generic.IList? Type317 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0ContentOneOf0Items? Type318 { get; set; } + public global::OpenRouter.ResponsesErrorFieldCode? Type318 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type319 { get; set; } + public global::OpenRouter.ResponsesErrorField? Type319 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Content? Type320 { get; set; } + public global::OpenRouter.IncompleteDetailsReason? Type320 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Phase0? Type321 { get; set; } + public global::OpenRouter.IncompleteDetails? Type321 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Phase1? Type322 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0ContentOneOf0Items? Type322 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Phase? Type323 { get; set; } + public global::System.Collections.Generic.IList? Type323 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Role0? Type324 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Content? Type324 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Role1? Type325 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Phase0? Type325 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Role2? Type326 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Phase1? Type326 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Role3? Type327 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Phase? Type327 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Role? Type328 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Role0? Type328 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Type? Type329 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Role1? Type329 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1Items0? Type330 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Role2? Type330 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseInputMessageItemContentItems? Type331 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Role3? Type331 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseInputMessageItemRole0? Type332 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Role? Type332 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseInputMessageItemRole1? Type333 { get; set; } + public global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Type? Type333 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseInputMessageItemRole2? Type334 { get; set; } + public global::OpenRouter.BaseInputsOneOf1Items0? Type334 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseInputMessageItemRole? Type335 { get; set; } + public global::OpenRouter.OpenAiResponseInputMessageItemContentItems? Type335 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponseInputMessageItemType? Type336 { get; set; } + public global::OpenRouter.OpenAiResponseInputMessageItemRole0? Type336 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseInputMessageItem? Type337 { get; set; } + public global::OpenRouter.OpenAiResponseInputMessageItemRole1? Type337 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type338 { get; set; } + public global::OpenRouter.OpenAiResponseInputMessageItemRole2? Type338 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseFunctionToolCallOutput? Type339 { get; set; } + public global::OpenRouter.OpenAiResponseInputMessageItemRole? Type339 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseFunctionToolCall? Type340 { get; set; } + public global::OpenRouter.OpenAiResponseInputMessageItemType? Type340 { get; set; } /// /// /// - public global::OpenRouter.OutputItemImageGenerationCall? Type341 { get; set; } + public global::OpenRouter.OpenAIResponseInputMessageItem? Type341 { get; set; } /// /// /// - public global::OpenRouter.OutputMessage? Type342 { get; set; } + public global::System.Collections.Generic.IList? Type342 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type343 { get; set; } + public global::OpenRouter.OpenAIResponseFunctionToolCallOutput? Type343 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsOneOf1Items? Type344 { get; set; } + public global::OpenRouter.OpenAIResponseFunctionToolCall? Type344 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type345 { get; set; } + public global::OpenRouter.OutputItemImageGenerationCall? Type345 { get; set; } /// /// /// - public global::OpenRouter.BaseInputs? Type346 { get; set; } + public global::OpenRouter.OutputMessage? Type346 { get; set; } /// /// /// - public global::OpenRouter.BaseResponsesResultObject? Type347 { get; set; } + public global::System.Collections.Generic.IList? Type347 { get; set; } /// /// /// - public global::OpenRouter.OutputItemReasoning? Type348 { get; set; } + public global::OpenRouter.BaseInputsOneOf1Items? Type348 { get; set; } /// /// /// - public global::OpenRouter.OutputItemFunctionCall? Type349 { get; set; } + public global::System.Collections.Generic.IList? Type349 { get; set; } /// /// /// - public global::OpenRouter.OutputItemWebSearchCall? Type350 { get; set; } + public global::OpenRouter.BaseInputs? Type350 { get; set; } /// /// /// - public global::OpenRouter.OutputItemFileSearchCall? Type351 { get; set; } + public global::OpenRouter.BaseResponsesResultObject? Type351 { get; set; } /// /// /// - public global::OpenRouter.BaseResponsesResultOutputItems? Type352 { get; set; } + public global::OpenRouter.OutputItemReasoning? Type352 { get; set; } /// /// /// - public global::OpenRouter.BaseReasoningConfig? Type353 { get; set; } + public global::OpenRouter.OutputItemFunctionCall? Type353 { get; set; } /// /// /// - public global::OpenRouter.ServiceTier2? Type354 { get; set; } + public global::OpenRouter.OutputItemWebSearchCall? Type354 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesResponseStatus? Type355 { get; set; } + public global::OpenRouter.OutputItemFileSearchCall? Type355 { get; set; } /// /// /// - public global::OpenRouter.TextConfig? Type356 { get; set; } + public global::OpenRouter.BaseResponsesResultOutputItems? Type356 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type357 { get; set; } + public global::OpenRouter.BaseReasoningConfig? Type357 { get; set; } /// /// /// - public global::OpenRouter.BaseResponsesResultToolsItems0? Type358 { get; set; } + public global::OpenRouter.ServiceTier2? Type358 { get; set; } /// /// /// - public global::OpenRouter.BaseResponsesResultToolsItems? Type359 { get; set; } + public global::OpenRouter.OpenAIResponsesResponseStatus? Type359 { get; set; } /// /// /// - public global::OpenRouter.Truncation? Type360 { get; set; } + public global::OpenRouter.TextConfig? Type360 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponsesUsageInputTokensDetails? Type361 { get; set; } + public global::OpenRouter.OneOf? Type361 { get; set; } /// /// /// - public global::OpenRouter.OpenAiResponsesUsageOutputTokensDetails? Type362 { get; set; } + public global::OpenRouter.BaseResponsesResultToolsItems0? Type362 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesUsage? Type363 { get; set; } + public global::OpenRouter.BaseResponsesResultToolsItems? Type363 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterCallItemOutputsItemsOneOf0Type? Type364 { get; set; } + public global::OpenRouter.Truncation? Type364 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterCallItemOutputsItems0? Type365 { get; set; } + public global::OpenRouter.OpenAiResponsesUsageInputTokensDetails? Type365 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterCallItemOutputsItemsOneOf1Type? Type366 { get; set; } + public global::OpenRouter.OpenAiResponsesUsageOutputTokensDetails? Type366 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterCallItemOutputsItems1? Type367 { get; set; } + public global::OpenRouter.OpenAIResponsesUsage? Type367 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterCallItemOutputsItems? Type368 { get; set; } + public global::OpenRouter.CodeInterpreterCallItemOutputsItemsOneOf0Type? Type368 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterCallItemType? Type369 { get; set; } + public global::OpenRouter.CodeInterpreterCallItemOutputsItems0? Type369 { get; set; } /// /// /// - public global::OpenRouter.OutputComputerCallItemPendingSafetyChecksItems? Type370 { get; set; } + public global::OpenRouter.CodeInterpreterCallItemOutputsItemsOneOf1Type? Type370 { get; set; } /// /// /// - public global::OpenRouter.OutputComputerCallItemStatus? Type371 { get; set; } + public global::OpenRouter.CodeInterpreterCallItemOutputsItems1? Type371 { get; set; } /// /// /// - public global::OpenRouter.OutputComputerCallItemType? Type372 { get; set; } + public global::OpenRouter.CodeInterpreterCallItemOutputsItems? Type372 { get; set; } /// /// /// - public global::OpenRouter.OutputApplyPatchServerToolItemType? Type373 { get; set; } + public global::OpenRouter.CodeInterpreterCallItemType? Type373 { get; set; } /// /// /// - public global::OpenRouter.OutputBashServerToolItemType? Type374 { get; set; } + public global::OpenRouter.OutputComputerCallItemPendingSafetyChecksItems? Type374 { get; set; } /// /// /// - public global::OpenRouter.OutputBrowserUseServerToolItemType? Type375 { get; set; } + public global::OpenRouter.OutputComputerCallItemStatus? Type375 { get; set; } /// /// /// - public global::OpenRouter.OutputCodeInterpreterServerToolItemType? Type376 { get; set; } + public global::OpenRouter.OutputComputerCallItemType? Type376 { get; set; } /// /// /// - public global::OpenRouter.OutputSearchModelsServerToolItemType? Type377 { get; set; } + public global::OpenRouter.OutputApplyPatchServerToolItemType? Type377 { get; set; } /// /// /// - public global::OpenRouter.OutputFileSearchServerToolItemType? Type378 { get; set; } + public global::OpenRouter.OutputBashServerToolItemType? Type378 { get; set; } /// /// /// - public global::OpenRouter.OutputImageGenerationServerToolItemType? Type379 { get; set; } + public global::OpenRouter.OutputBrowserUseServerToolItemType? Type379 { get; set; } /// /// /// - public global::OpenRouter.OutputMcpServerToolItemType? Type380 { get; set; } + public global::OpenRouter.OutputCodeInterpreterServerToolItemType? Type380 { get; set; } /// /// /// - public global::OpenRouter.OutputMemoryServerToolItemAction? Type381 { get; set; } + public global::OpenRouter.OutputSearchModelsServerToolItemType? Type381 { get; set; } /// /// /// - public global::OpenRouter.OutputMemoryServerToolItemType? Type382 { get; set; } + public global::OpenRouter.OutputFileSearchServerToolItemType? Type382 { get; set; } /// /// /// - public global::OpenRouter.OutputTextEditorServerToolItemCommand? Type383 { get; set; } + public global::OpenRouter.OutputImageGenerationServerToolItemType? Type383 { get; set; } /// /// /// - public global::OpenRouter.OutputTextEditorServerToolItemType? Type384 { get; set; } + public global::OpenRouter.OutputMcpServerToolItemType? Type384 { get; set; } /// /// /// - public global::OpenRouter.OutputToolSearchServerToolItemType? Type385 { get; set; } + public global::OpenRouter.OutputMemoryServerToolItemAction? Type385 { get; set; } /// /// /// - public global::OpenRouter.OutputWebFetchServerToolItemType? Type386 { get; set; } + public global::OpenRouter.OutputMemoryServerToolItemType? Type386 { get; set; } /// /// /// - public global::OpenRouter.OutputItems? Type387 { get; set; } + public global::OpenRouter.OutputTextEditorServerToolItemCommand? Type387 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant1? Type388 { get; set; } + public global::OpenRouter.OutputTextEditorServerToolItemType? Type388 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type389 { get; set; } + public global::OpenRouter.OutputToolSearchServerToolItemType? Type389 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant2? Type390 { get; set; } + public global::OpenRouter.OutputWebFetchServerToolItemType? Type390 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type391 { get; set; } + public global::OpenRouter.OutputItems? Type391 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant3? Type392 { get; set; } + public global::OpenRouter.OutputItemsVariant1? Type392 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant4? Type393 { get; set; } + public global::System.Collections.Generic.IList? Type393 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant5? Type394 { get; set; } + public global::OpenRouter.OutputItemsVariant2? Type394 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant6? Type395 { get; set; } + public global::System.Collections.Generic.IList? Type395 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant7? Type396 { get; set; } + public global::OpenRouter.OutputItemsVariant3? Type396 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant8? Type397 { get; set; } + public global::OpenRouter.OutputItemsVariant4? Type397 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant9? Type398 { get; set; } + public global::OpenRouter.OutputItemsVariant5? Type398 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant10? Type399 { get; set; } + public global::OpenRouter.OutputItemsVariant6? Type399 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant11? Type400 { get; set; } + public global::OpenRouter.OutputItemsVariant7? Type400 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant12? Type401 { get; set; } + public global::OpenRouter.OutputItemsVariant8? Type401 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant13? Type402 { get; set; } + public global::OpenRouter.OutputItemsVariant9? Type402 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant14? Type403 { get; set; } + public global::OpenRouter.OutputItemsVariant10? Type403 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant15? Type404 { get; set; } + public global::OpenRouter.OutputItemsVariant11? Type404 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant16? Type405 { get; set; } + public global::OpenRouter.OutputItemsVariant12? Type405 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant17? Type406 { get; set; } + public global::OpenRouter.OutputItemsVariant13? Type406 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant18? Type407 { get; set; } + public global::OpenRouter.OutputItemsVariant14? Type407 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant19? Type408 { get; set; } + public global::OpenRouter.OutputItemsVariant15? Type408 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant20? Type409 { get; set; } + public global::OpenRouter.OutputItemsVariant16? Type409 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant21? Type410 { get; set; } + public global::OpenRouter.OutputItemsVariant17? Type410 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsVariant22? Type411 { get; set; } + public global::OpenRouter.OutputItemsVariant18? Type411 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsDiscriminator? Type412 { get; set; } + public global::OpenRouter.OutputItemsVariant19? Type412 { get; set; } /// /// /// - public global::OpenRouter.UsageCostDetails? Type413 { get; set; } + public global::OpenRouter.OutputItemsVariant20? Type413 { get; set; } /// /// /// - public global::OpenRouter.Usage? Type414 { get; set; } + public global::OpenRouter.OutputItemsVariant21? Type414 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesResult? Type415 { get; set; } + public global::OpenRouter.OutputItemsVariant22? Type415 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type416 { get; set; } + public global::OpenRouter.OutputItemsDiscriminator? Type416 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type417 { get; set; } + public global::OpenRouter.UsageCostDetails? Type417 { get; set; } /// /// /// - public global::OpenRouter.BadRequestResponseErrorData? Type418 { get; set; } + public global::OpenRouter.Usage? Type418 { get; set; } /// /// /// - public global::OpenRouter.BadRequestResponse? Type419 { get; set; } + public global::OpenRouter.OpenResponsesResult? Type419 { get; set; } /// /// /// - public global::OpenRouter.UnauthorizedResponseErrorData? Type420 { get; set; } + public global::System.Collections.Generic.IList? Type420 { get; set; } /// /// /// - public global::OpenRouter.UnauthorizedResponse? Type421 { get; set; } + public global::System.Collections.Generic.IList? Type421 { get; set; } /// /// /// - public global::OpenRouter.PaymentRequiredResponseErrorData? Type422 { get; set; } + public global::OpenRouter.BadRequestResponseErrorData? Type422 { get; set; } /// /// /// - public global::OpenRouter.PaymentRequiredResponse? Type423 { get; set; } + public global::OpenRouter.BadRequestResponse? Type423 { get; set; } /// /// /// - public global::OpenRouter.NotFoundResponseErrorData? Type424 { get; set; } + public global::OpenRouter.UnauthorizedResponseErrorData? Type424 { get; set; } /// /// /// - public global::OpenRouter.NotFoundResponse? Type425 { get; set; } + public global::OpenRouter.UnauthorizedResponse? Type425 { get; set; } /// /// /// - public global::OpenRouter.RequestTimeoutResponseErrorData? Type426 { get; set; } + public global::OpenRouter.PaymentRequiredResponseErrorData? Type426 { get; set; } /// /// /// - public global::OpenRouter.RequestTimeoutResponse? Type427 { get; set; } + public global::OpenRouter.PaymentRequiredResponse? Type427 { get; set; } /// /// /// - public global::OpenRouter.PayloadTooLargeResponseErrorData? Type428 { get; set; } + public global::OpenRouter.NotFoundResponseErrorData? Type428 { get; set; } /// /// /// - public global::OpenRouter.PayloadTooLargeResponse? Type429 { get; set; } + public global::OpenRouter.NotFoundResponse? Type429 { get; set; } /// /// /// - public global::OpenRouter.UnprocessableEntityResponseErrorData? Type430 { get; set; } + public global::OpenRouter.RequestTimeoutResponseErrorData? Type430 { get; set; } /// /// /// - public global::OpenRouter.UnprocessableEntityResponse? Type431 { get; set; } + public global::OpenRouter.RequestTimeoutResponse? Type431 { get; set; } /// /// /// - public global::OpenRouter.TooManyRequestsResponseErrorData? Type432 { get; set; } + public global::OpenRouter.PayloadTooLargeResponseErrorData? Type432 { get; set; } /// /// /// - public global::OpenRouter.TooManyRequestsResponse? Type433 { get; set; } + public global::OpenRouter.PayloadTooLargeResponse? Type433 { get; set; } /// /// /// - public global::OpenRouter.InternalServerResponseErrorData? Type434 { get; set; } + public global::OpenRouter.UnprocessableEntityResponseErrorData? Type434 { get; set; } /// /// /// - public global::OpenRouter.InternalServerResponse? Type435 { get; set; } + public global::OpenRouter.UnprocessableEntityResponse? Type435 { get; set; } /// /// /// - public global::OpenRouter.BadGatewayResponseErrorData? Type436 { get; set; } + public global::OpenRouter.TooManyRequestsResponseErrorData? Type436 { get; set; } /// /// /// - public global::OpenRouter.BadGatewayResponse? Type437 { get; set; } + public global::OpenRouter.TooManyRequestsResponse? Type437 { get; set; } /// /// /// - public global::OpenRouter.ServiceUnavailableResponseErrorData? Type438 { get; set; } + public global::OpenRouter.InternalServerResponseErrorData? Type438 { get; set; } /// /// /// - public global::OpenRouter.ServiceUnavailableResponse? Type439 { get; set; } + public global::OpenRouter.InternalServerResponse? Type439 { get; set; } /// /// /// - public global::OpenRouter.AuthKeysPostRequestBodyContentApplicationJsonSchemaCodeChallengeMethod? Type440 { get; set; } + public global::OpenRouter.BadGatewayResponseErrorData? Type440 { get; set; } /// /// /// - public global::OpenRouter.OAuthExchangeAuthCodeForAPIKeyResponse200? Type441 { get; set; } + public global::OpenRouter.BadGatewayResponse? Type441 { get; set; } /// /// /// - public global::OpenRouter.ForbiddenResponseErrorData? Type442 { get; set; } + public global::OpenRouter.ServiceUnavailableResponseErrorData? Type442 { get; set; } /// /// /// - public global::OpenRouter.ForbiddenResponse? Type443 { get; set; } + public global::OpenRouter.ServiceUnavailableResponse? Type443 { get; set; } /// /// /// - public global::OpenRouter.AuthKeysCodePostRequestBodyContentApplicationJsonSchemaCodeChallengeMethod? Type444 { get; set; } + public global::OpenRouter.AuthKeysPostRequestBodyContentApplicationJsonSchemaCodeChallengeMethod? Type444 { get; set; } /// /// /// - public global::OpenRouter.AuthKeysCodePostRequestBodyContentApplicationJsonSchemaUsageLimitType? Type445 { get; set; } + public global::OpenRouter.OAuthExchangeAuthCodeForAPIKeyResponse200? Type445 { get; set; } /// /// /// - public global::OpenRouter.AuthKeysCodePostResponsesContentApplicationJsonSchemaData? Type446 { get; set; } + public global::OpenRouter.ForbiddenResponseErrorData? Type446 { get; set; } /// /// /// - public global::OpenRouter.OAuthCreateAuthKeysCodeResponse200? Type447 { get; set; } + public global::OpenRouter.ForbiddenResponse? Type447 { get; set; } /// /// /// - public global::OpenRouter.ConflictResponseErrorData? Type448 { get; set; } + public global::OpenRouter.AuthKeysCodePostRequestBodyContentApplicationJsonSchemaCodeChallengeMethod? Type448 { get; set; } /// /// /// - public global::OpenRouter.ConflictResponse? Type449 { get; set; } + public global::OpenRouter.AuthKeysCodePostRequestBodyContentApplicationJsonSchemaUsageLimitType? Type449 { get; set; } /// /// /// - public global::OpenRouter.ActivityItem? Type450 { get; set; } + public global::OpenRouter.AuthKeysCodePostResponsesContentApplicationJsonSchemaData? Type450 { get; set; } /// /// /// - public global::OpenRouter.ActivityResponse? Type451 { get; set; } + public global::OpenRouter.OAuthCreateAuthKeysCodeResponse200? Type451 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type452 { get; set; } + public global::OpenRouter.ConflictResponseErrorData? Type452 { get; set; } /// /// /// - public global::OpenRouter.SpeechRequestProviderOptions? Type453 { get; set; } + public global::OpenRouter.ConflictResponse? Type453 { get; set; } /// /// /// - public global::OpenRouter.SpeechRequestProvider? Type454 { get; set; } + public global::OpenRouter.ActivityItem? Type454 { get; set; } /// /// /// - public global::OpenRouter.SpeechRequestResponseFormat? Type455 { get; set; } + public global::OpenRouter.ActivityResponse? Type455 { get; set; } /// /// /// - public global::OpenRouter.SpeechRequest? Type456 { get; set; } + public global::System.Collections.Generic.IList? Type456 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCacheControlTtl? Type457 { get; set; } + public global::OpenRouter.SpeechRequestProviderOptions? Type457 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCacheControlDirectiveType? Type458 { get; set; } + public global::OpenRouter.SpeechRequestProvider? Type458 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestCacheControl? Type459 { get; set; } + public global::OpenRouter.SpeechRequestResponseFormat? Type459 { get; set; } /// /// /// - public global::OpenRouter.ChatDebugOptions? Type460 { get; set; } + public global::OpenRouter.SpeechRequest? Type460 { get; set; } /// /// /// - public global::OpenRouter.ChatContentCacheControl? Type461 { get; set; } + public global::OpenRouter.AnthropicCacheControlTtl? Type461 { get; set; } /// /// /// - public global::OpenRouter.ChatContentTextType? Type462 { get; set; } + public global::OpenRouter.AnthropicCacheControlDirectiveType? Type462 { get; set; } /// /// /// - public global::OpenRouter.ChatContentText? Type463 { get; set; } + public global::OpenRouter.ChatRequestCacheControl? Type463 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type464 { get; set; } + public global::OpenRouter.ChatDebugOptions? Type464 { get; set; } /// /// /// - public global::OpenRouter.ChatSystemMessageContent? Type465 { get; set; } + public global::OpenRouter.ChatContentCacheControl? Type465 { get; set; } /// /// /// - public global::OpenRouter.ChatSystemMessageRole? Type466 { get; set; } + public global::OpenRouter.ChatContentTextType? Type466 { get; set; } /// /// /// - public global::OpenRouter.ChatSystemMessage? Type467 { get; set; } + public global::OpenRouter.ChatContentText? Type467 { get; set; } /// /// /// - public global::OpenRouter.ChatContentImageImageUrlDetail? Type468 { get; set; } + public global::System.Collections.Generic.IList? Type468 { get; set; } /// /// /// - public global::OpenRouter.ChatContentImageImageUrl? Type469 { get; set; } + public global::OpenRouter.ChatSystemMessageContent? Type469 { get; set; } /// /// /// - public global::OpenRouter.ChatContentImageType? Type470 { get; set; } + public global::OpenRouter.ChatSystemMessageRole? Type470 { get; set; } /// /// /// - public global::OpenRouter.ChatContentImage? Type471 { get; set; } + public global::OpenRouter.ChatSystemMessage? Type471 { get; set; } /// /// /// - public global::OpenRouter.ChatContentAudioInputAudio? Type472 { get; set; } + public global::OpenRouter.ChatContentImageImageUrlDetail? Type472 { get; set; } /// /// /// - public global::OpenRouter.ChatContentAudioType? Type473 { get; set; } + public global::OpenRouter.ChatContentImageImageUrl? Type473 { get; set; } /// /// /// - public global::OpenRouter.ChatContentAudio? Type474 { get; set; } + public global::OpenRouter.ChatContentImageType? Type474 { get; set; } /// /// /// - public global::OpenRouter.LegacyChatContentVideoType? Type475 { get; set; } + public global::OpenRouter.ChatContentImage? Type475 { get; set; } /// /// /// - public global::OpenRouter.ChatContentVideoInput? Type476 { get; set; } + public global::OpenRouter.ChatContentAudioInputAudio? Type476 { get; set; } /// /// /// - public global::OpenRouter.LegacyChatContentVideo? Type477 { get; set; } + public global::OpenRouter.ChatContentAudioType? Type477 { get; set; } /// /// /// - public global::OpenRouter.ChatContentVideoType? Type478 { get; set; } + public global::OpenRouter.ChatContentAudio? Type478 { get; set; } /// /// /// - public global::OpenRouter.ChatContentVideo? Type479 { get; set; } + public global::OpenRouter.LegacyChatContentVideoType? Type479 { get; set; } /// /// /// - public global::OpenRouter.ChatContentFileFile? Type480 { get; set; } + public global::OpenRouter.ChatContentVideoInput? Type480 { get; set; } /// /// /// - public global::OpenRouter.ChatContentFileType? Type481 { get; set; } + public global::OpenRouter.LegacyChatContentVideo? Type481 { get; set; } /// /// /// - public global::OpenRouter.ChatContentFile? Type482 { get; set; } + public global::OpenRouter.ChatContentVideoType? Type482 { get; set; } /// /// /// - public global::OpenRouter.ChatContentItems? Type483 { get; set; } + public global::OpenRouter.ChatContentVideo? Type483 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type484 { get; set; } + public global::OpenRouter.ChatContentFileFile? Type484 { get; set; } /// /// /// - public global::OpenRouter.ChatUserMessageContent? Type485 { get; set; } + public global::OpenRouter.ChatContentFileType? Type485 { get; set; } /// /// /// - public global::OpenRouter.ChatUserMessageRole? Type486 { get; set; } + public global::OpenRouter.ChatContentFile? Type486 { get; set; } /// /// /// - public global::OpenRouter.ChatUserMessage? Type487 { get; set; } + public global::OpenRouter.ChatContentItems? Type487 { get; set; } /// /// /// - public global::OpenRouter.ChatDeveloperMessageContent? Type488 { get; set; } + public global::System.Collections.Generic.IList? Type488 { get; set; } /// /// /// - public global::OpenRouter.ChatDeveloperMessageRole? Type489 { get; set; } + public global::OpenRouter.ChatUserMessageContent? Type489 { get; set; } /// /// /// - public global::OpenRouter.ChatDeveloperMessage? Type490 { get; set; } + public global::OpenRouter.ChatUserMessageRole? Type490 { get; set; } /// /// /// - public global::OpenRouter.ChatAudioOutput? Type491 { get; set; } + public global::OpenRouter.ChatUserMessage? Type491 { get; set; } /// /// /// - public global::OpenRouter.ChatAssistantMessageContent? Type492 { get; set; } + public global::OpenRouter.ChatDeveloperMessageContent? Type492 { get; set; } /// /// /// - public global::OpenRouter.ChatAssistantImagesItemsImageUrl? Type493 { get; set; } + public global::OpenRouter.ChatDeveloperMessageRole? Type493 { get; set; } /// /// /// - public global::OpenRouter.ChatAssistantImagesItems? Type494 { get; set; } + public global::OpenRouter.ChatDeveloperMessage? Type494 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type495 { get; set; } + public global::OpenRouter.ChatAudioOutput? Type495 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailSummaryType? Type496 { get; set; } + public global::OpenRouter.ChatAssistantMessageContent? Type496 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailSummary? Type497 { get; set; } + public global::OpenRouter.ChatAssistantImagesItemsImageUrl? Type497 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailEncryptedType? Type498 { get; set; } + public global::OpenRouter.ChatAssistantImagesItems? Type498 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailEncrypted? Type499 { get; set; } + public global::System.Collections.Generic.IList? Type499 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailTextType? Type500 { get; set; } + public global::OpenRouter.ReasoningDetailSummaryType? Type500 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailText? Type501 { get; set; } + public global::OpenRouter.ReasoningDetailSummary? Type501 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailUnion? Type502 { get; set; } + public global::OpenRouter.ReasoningDetailEncryptedType? Type502 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type503 { get; set; } + public global::OpenRouter.ReasoningDetailEncrypted? Type503 { get; set; } /// /// /// - public global::OpenRouter.ChatAssistantMessageRole? Type504 { get; set; } + public global::OpenRouter.ReasoningDetailTextType? Type504 { get; set; } /// /// /// - public global::OpenRouter.ChatToolCallFunction? Type505 { get; set; } + public global::OpenRouter.ReasoningDetailText? Type505 { get; set; } /// /// /// - public global::OpenRouter.ChatToolCallType? Type506 { get; set; } + public global::OpenRouter.ReasoningDetailUnion? Type506 { get; set; } /// /// /// - public global::OpenRouter.ChatToolCall? Type507 { get; set; } + public global::System.Collections.Generic.IList? Type507 { get; set; } /// /// /// - public global::OpenRouter.ChatAssistantMessage? Type508 { get; set; } + public global::OpenRouter.ChatAssistantMessageRole? Type508 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type509 { get; set; } + public global::OpenRouter.ChatToolCallFunction? Type509 { get; set; } /// /// /// - public global::OpenRouter.ChatToolMessageContent? Type510 { get; set; } + public global::OpenRouter.ChatToolCallType? Type510 { get; set; } /// /// /// - public global::OpenRouter.ChatToolMessageRole? Type511 { get; set; } + public global::OpenRouter.ChatToolCall? Type511 { get; set; } /// /// /// - public global::OpenRouter.ChatToolMessage? Type512 { get; set; } + public global::OpenRouter.ChatAssistantMessage? Type512 { get; set; } /// /// /// - public global::OpenRouter.ChatMessages? Type513 { get; set; } + public global::System.Collections.Generic.IList? Type513 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestModalitiesItems? Type514 { get; set; } + public global::OpenRouter.ChatToolMessageContent? Type514 { get; set; } /// /// /// - public global::OpenRouter.ChatModelNamesItems? Type515 { get; set; } + public global::OpenRouter.ChatToolMessageRole? Type515 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type516 { get; set; } + public global::OpenRouter.ChatToolMessage? Type516 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginsItems? Type517 { get; set; } + public global::OpenRouter.ChatMessages? Type517 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestReasoningEffort? Type518 { get; set; } + public global::OpenRouter.ChatRequestModalitiesItems? Type518 { get; set; } /// /// /// - public global::OpenRouter.ChatReasoningSummaryVerbosityEnum? Type519 { get; set; } + public global::OpenRouter.ChatModelNamesItems? Type519 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestReasoning? Type520 { get; set; } + public global::System.Collections.Generic.IList? Type520 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type521 { get; set; } + public global::OpenRouter.ChatRequestPluginsItems? Type521 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatTextConfigType? Type522 { get; set; } + public global::OpenRouter.ChatRequestReasoningEffort? Type522 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatTextConfig? Type523 { get; set; } + public global::OpenRouter.ChatReasoningSummaryVerbosityEnum? Type523 { get; set; } /// /// /// - public global::OpenRouter.ChatJsonSchemaConfig? Type524 { get; set; } + public global::OpenRouter.ChatRequestReasoning? Type524 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatJsonSchemaConfigType? Type525 { get; set; } + public global::OpenRouter.OneOf? Type525 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatJsonSchemaConfig? Type526 { get; set; } + public global::OpenRouter.ChatFormatTextConfigType? Type526 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatGrammarConfigType? Type527 { get; set; } + public global::OpenRouter.ChatFormatTextConfig? Type527 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatGrammarConfig? Type528 { get; set; } + public global::OpenRouter.ChatJsonSchemaConfig? Type528 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatPythonConfigType? Type529 { get; set; } + public global::OpenRouter.ChatFormatJsonSchemaConfigType? Type529 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatPythonConfig? Type530 { get; set; } + public global::OpenRouter.ChatFormatJsonSchemaConfig? Type530 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestResponseFormat? Type531 { get; set; } + public global::OpenRouter.ChatFormatGrammarConfigType? Type531 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestServiceTier? Type532 { get; set; } + public global::OpenRouter.ChatFormatGrammarConfig? Type532 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestStop? Type533 { get; set; } + public global::OpenRouter.ChatFormatPythonConfigType? Type533 { get; set; } /// /// /// - public global::OpenRouter.ChatStreamOptions? Type534 { get; set; } + public global::OpenRouter.ChatFormatPythonConfig? Type534 { get; set; } /// /// /// - public global::OpenRouter.ChatToolChoice0? Type535 { get; set; } + public global::OpenRouter.ChatRequestResponseFormat? Type535 { get; set; } /// /// /// - public global::OpenRouter.ChatToolChoice1? Type536 { get; set; } + public global::OpenRouter.ChatRequestServiceTier? Type536 { get; set; } /// /// /// - public global::OpenRouter.ChatToolChoice2? Type537 { get; set; } + public global::OpenRouter.ChatRequestStop? Type537 { get; set; } /// /// /// - public global::OpenRouter.ChatNamedToolChoiceFunction? Type538 { get; set; } + public global::OpenRouter.ChatStreamOptions? Type538 { get; set; } /// /// /// - public global::OpenRouter.ChatNamedToolChoiceType? Type539 { get; set; } + public global::OpenRouter.ChatToolChoice0? Type539 { get; set; } /// /// /// - public global::OpenRouter.ChatNamedToolChoice? Type540 { get; set; } + public global::OpenRouter.ChatToolChoice1? Type540 { get; set; } /// /// /// - public global::OpenRouter.ChatToolChoice? Type541 { get; set; } + public global::OpenRouter.ChatToolChoice2? Type541 { get; set; } /// /// /// - public global::OpenRouter.ChatFunctionToolOneOf0Function? Type542 { get; set; } + public global::OpenRouter.ChatNamedToolChoiceFunction? Type542 { get; set; } /// /// /// - public global::OpenRouter.ChatFunctionToolOneOf0Type? Type543 { get; set; } + public global::OpenRouter.ChatNamedToolChoiceType? Type543 { get; set; } /// /// /// - public global::OpenRouter.ChatFunctionTool0? Type544 { get; set; } + public global::OpenRouter.ChatNamedToolChoice? Type544 { get; set; } /// /// /// - public global::OpenRouter.SearchQualityLevel? Type545 { get; set; } + public global::OpenRouter.ChatToolChoice? Type545 { get; set; } /// /// /// - public global::OpenRouter.WebSearchUserLocationServerToolType? Type546 { get; set; } + public global::OpenRouter.ChatFunctionToolOneOf0Function? Type546 { get; set; } /// /// /// - public global::OpenRouter.WebSearchUserLocationServerTool? Type547 { get; set; } + public global::OpenRouter.ChatFunctionToolOneOf0Type? Type547 { get; set; } /// /// /// - public global::OpenRouter.WebSearchConfig? Type548 { get; set; } + public global::OpenRouter.ChatFunctionTool0? Type548 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterWebSearchServerToolType? Type549 { get; set; } + public global::OpenRouter.SearchQualityLevel? Type549 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterWebSearchServerTool? Type550 { get; set; } + public global::OpenRouter.WebSearchUserLocationServerToolType? Type550 { get; set; } /// /// /// - public global::OpenRouter.ChatWebSearchShorthandType? Type551 { get; set; } + public global::OpenRouter.WebSearchUserLocationServerTool? Type551 { get; set; } /// /// /// - public global::OpenRouter.ChatWebSearchShorthand? Type552 { get; set; } + public global::OpenRouter.WebSearchConfig? Type552 { get; set; } /// /// /// - public global::OpenRouter.ChatFunctionTool? Type553 { get; set; } + public global::OpenRouter.OpenRouterWebSearchServerToolType? Type553 { get; set; } /// /// /// - public global::OpenRouter.ChatRequest? Type554 { get; set; } + public global::OpenRouter.OpenRouterWebSearchServerTool? Type554 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type555 { get; set; } + public global::OpenRouter.ChatWebSearchShorthandType? Type555 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type556 { get; set; } + public global::OpenRouter.ChatWebSearchShorthand? Type556 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type557 { get; set; } + public global::OpenRouter.ChatFunctionTool? Type557 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type558 { get; set; } + public global::OpenRouter.ChatRequest? Type558 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type559 { get; set; } + public global::System.Collections.Generic.Dictionary? Type559 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type560 { get; set; } + public global::System.Collections.Generic.IList? Type560 { get; set; } /// /// /// - public global::OpenRouter.ChatFinishReasonEnum? Type561 { get; set; } + public global::System.Collections.Generic.IList? Type561 { get; set; } /// /// /// - public global::OpenRouter.ChatTokenLogprobTopLogprobsItems? Type562 { get; set; } + public global::System.Collections.Generic.IList? Type562 { get; set; } /// /// /// - public global::OpenRouter.ChatTokenLogprob? Type563 { get; set; } + public global::OpenRouter.OneOf? Type563 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type564 { get; set; } + public global::System.Collections.Generic.IList? Type564 { get; set; } /// /// /// - public global::OpenRouter.ChatTokenLogprobs? Type565 { get; set; } + public global::OpenRouter.ChatFinishReasonEnum? Type565 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type566 { get; set; } + public global::OpenRouter.ChatTokenLogprobTopLogprobsItems? Type566 { get; set; } /// /// /// - public global::OpenRouter.ChatChoice? Type567 { get; set; } + public global::OpenRouter.ChatTokenLogprob? Type567 { get; set; } /// /// /// - public global::OpenRouter.ChatResultObject? Type568 { get; set; } + public global::System.Collections.Generic.IList? Type568 { get; set; } /// /// /// - public global::OpenRouter.ChatUsageCompletionTokensDetails? Type569 { get; set; } + public global::OpenRouter.ChatTokenLogprobs? Type569 { get; set; } /// /// /// - public global::OpenRouter.ChatUsagePromptTokensDetails? Type570 { get; set; } + public global::System.Collections.Generic.IList? Type570 { get; set; } /// /// /// - public global::OpenRouter.ChatUsage? Type571 { get; set; } + public global::OpenRouter.ChatChoice? Type571 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type572 { get; set; } + public global::OpenRouter.ChatResultObject? Type572 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type573 { get; set; } + public global::OpenRouter.ChatUsageCompletionTokensDetails? Type573 { get; set; } /// /// /// - public global::OpenRouter.ChatResult? Type574 { get; set; } + public global::OpenRouter.ChatUsagePromptTokensDetails? Type574 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type575 { get; set; } + public global::OpenRouter.ChatUsage? Type575 { get; set; } /// /// /// - public global::System.DateTimeOffset? Type576 { get; set; } + public global::OpenRouter.OneOf? Type576 { get; set; } /// /// /// - public global::OpenRouter.CreditsGetResponsesContentApplicationJsonSchemaData? Type577 { get; set; } + public global::OpenRouter.OneOf? Type577 { get; set; } /// /// /// - public global::OpenRouter.CreditsGetCreditsResponse200? Type578 { get; set; } + public global::OpenRouter.ChatResult? Type578 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaEncodingFormat? Type579 { get; set; } + public global::System.Collections.Generic.IList? Type579 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItemsOneOf0Type? Type580 { get; set; } + public global::System.DateTimeOffset? Type580 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItems0? Type581 { get; set; } + public global::OpenRouter.CreditsGetResponsesContentApplicationJsonSchemaData? Type581 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItemsOneOf1ImageUrl? Type582 { get; set; } + public global::OpenRouter.CreditsGetCreditsResponse200? Type582 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItemsOneOf1Type? Type583 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaEncodingFormat? Type583 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItems1? Type584 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItemsOneOf0Type? Type584 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItems? Type585 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItems0? Type585 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4Items? Type586 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItemsOneOf1ImageUrl? Type586 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type587 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItemsOneOf1Type? Type587 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type588 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItems1? Type588 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInput? Type589 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItems? Type589 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type590 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4Items? Type590 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type591 { get; set; } + public global::System.Collections.Generic.IList? Type591 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaProvider? Type592 { get; set; } + public global::System.Collections.Generic.IList? Type592 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaDataItemsEmbedding? Type593 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInput? Type593 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaDataItemsObject? Type594 { get; set; } + public global::System.Collections.Generic.IList? Type594 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaDataItems? Type595 { get; set; } + public global::System.Collections.Generic.IList>? Type595 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaObject? Type596 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaProvider? Type596 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaUsagePromptTokensDetails? Type597 { get; set; } + public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaDataItemsEmbedding? Type597 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaUsage? Type598 { get; set; } + public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaDataItemsObject? Type598 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsCreateEmbeddingsResponse200? Type599 { get; set; } + public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaDataItems? Type599 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type600 { get; set; } + public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaObject? Type600 { get; set; } /// /// /// - public global::OpenRouter.InputModality? Type601 { get; set; } + public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaUsagePromptTokensDetails? Type601 { get; set; } /// /// /// - public global::OpenRouter.ModelArchitectureInstructType? Type602 { get; set; } + public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaUsage? Type602 { get; set; } /// /// /// - public global::OpenRouter.OutputModality? Type603 { get; set; } + public global::OpenRouter.EmbeddingsCreateEmbeddingsResponse200? Type603 { get; set; } /// /// /// - public global::OpenRouter.ModelGroup? Type604 { get; set; } + public global::System.Collections.Generic.IList? Type604 { get; set; } /// /// /// - public global::OpenRouter.ModelArchitecture? Type605 { get; set; } + public global::OpenRouter.InputModality? Type605 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type606 { get; set; } + public global::OpenRouter.ModelArchitectureInstructType? Type606 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type607 { get; set; } + public global::OpenRouter.OutputModality? Type607 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type608 { get; set; } + public global::OpenRouter.ModelGroup? Type608 { get; set; } /// /// /// - public global::OpenRouter.DefaultParameters? Type609 { get; set; } + public global::OpenRouter.ModelArchitecture? Type609 { get; set; } /// /// /// - public global::OpenRouter.ModelLinks? Type610 { get; set; } + public global::System.Collections.Generic.IList? Type610 { get; set; } /// /// /// - public global::OpenRouter.PerRequestLimits? Type611 { get; set; } + public global::OpenRouter.OneOf? Type611 { get; set; } /// /// /// - public global::OpenRouter.PublicPricingAudio? Type612 { get; set; } + public global::System.Collections.Generic.IList? Type612 { get; set; } /// /// /// - public global::OpenRouter.PublicPricingAudioOutput? Type613 { get; set; } + public global::OpenRouter.DefaultParameters? Type613 { get; set; } /// /// /// - public global::OpenRouter.PublicPricingCompletion? Type614 { get; set; } + public global::OpenRouter.ModelLinks? Type614 { get; set; } /// /// /// - public global::OpenRouter.PublicPricingImage? Type615 { get; set; } + public global::OpenRouter.PerRequestLimits? Type615 { get; set; } /// /// /// - public global::OpenRouter.PublicPricingImageOutput? Type616 { get; set; } + public global::OpenRouter.PublicPricingAudio? Type616 { get; set; } /// /// /// - public global::OpenRouter.PublicPricingImageToken? Type617 { get; set; } + public global::OpenRouter.PublicPricingAudioOutput? Type617 { get; set; } /// /// /// - public global::OpenRouter.PublicPricingInputAudioCache? Type618 { get; set; } + public global::OpenRouter.PublicPricingCompletion? Type618 { get; set; } /// /// /// - public global::OpenRouter.PublicPricingInputCacheRead? Type619 { get; set; } + public global::OpenRouter.PublicPricingImage? Type619 { get; set; } /// /// /// - public global::OpenRouter.PublicPricingInputCacheWrite? Type620 { get; set; } + public global::OpenRouter.PublicPricingImageOutput? Type620 { get; set; } /// /// /// - public global::OpenRouter.PublicPricingInternalReasoning? Type621 { get; set; } + public global::OpenRouter.PublicPricingImageToken? Type621 { get; set; } /// /// /// - public global::OpenRouter.PublicPricingPrompt? Type622 { get; set; } + public global::OpenRouter.PublicPricingInputAudioCache? Type622 { get; set; } /// /// /// - public global::OpenRouter.PublicPricingRequest? Type623 { get; set; } + public global::OpenRouter.PublicPricingInputCacheRead? Type623 { get; set; } /// /// /// - public global::OpenRouter.PublicPricingWebSearch? Type624 { get; set; } + public global::OpenRouter.PublicPricingInputCacheWrite? Type624 { get; set; } /// /// /// - public global::OpenRouter.PublicPricing? Type625 { get; set; } + public global::OpenRouter.PublicPricingInternalReasoning? Type625 { get; set; } /// /// /// - public global::OpenRouter.Parameter? Type626 { get; set; } + public global::OpenRouter.PublicPricingPrompt? Type626 { get; set; } /// /// /// - public global::OpenRouter.TopProviderInfo? Type627 { get; set; } + public global::OpenRouter.PublicPricingRequest? Type627 { get; set; } /// /// /// - public global::OpenRouter.Model? Type628 { get; set; } + public global::OpenRouter.PublicPricingWebSearch? Type628 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type629 { get; set; } + public global::OpenRouter.PublicPricing? Type629 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type630 { get; set; } + public global::OpenRouter.Parameter? Type630 { get; set; } /// /// /// - public global::OpenRouter.ModelsListResponse? Type631 { get; set; } + public global::OpenRouter.TopProviderInfo? Type631 { get; set; } /// /// /// - public global::OpenRouter.PercentileStats? Type632 { get; set; } + public global::OpenRouter.Model? Type632 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricingAudio? Type633 { get; set; } + public global::System.Collections.Generic.IList? Type633 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricingAudioOutput? Type634 { get; set; } + public global::System.Collections.Generic.IList? Type634 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricingCompletion? Type635 { get; set; } + public global::OpenRouter.ModelsListResponse? Type635 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricingImage? Type636 { get; set; } + public global::OpenRouter.PercentileStats? Type636 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricingImageOutput? Type637 { get; set; } + public global::OpenRouter.PublicEndpointPricingAudio? Type637 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricingImageToken? Type638 { get; set; } + public global::OpenRouter.PublicEndpointPricingAudioOutput? Type638 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricingInputAudioCache? Type639 { get; set; } + public global::OpenRouter.PublicEndpointPricingCompletion? Type639 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricingInputCacheRead? Type640 { get; set; } + public global::OpenRouter.PublicEndpointPricingImage? Type640 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricingInputCacheWrite? Type641 { get; set; } + public global::OpenRouter.PublicEndpointPricingImageOutput? Type641 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricingInternalReasoning? Type642 { get; set; } + public global::OpenRouter.PublicEndpointPricingImageToken? Type642 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricingPrompt? Type643 { get; set; } + public global::OpenRouter.PublicEndpointPricingInputAudioCache? Type643 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricingRequest? Type644 { get; set; } + public global::OpenRouter.PublicEndpointPricingInputCacheRead? Type644 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricingWebSearch? Type645 { get; set; } + public global::OpenRouter.PublicEndpointPricingInputCacheWrite? Type645 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricing? Type646 { get; set; } + public global::OpenRouter.PublicEndpointPricingInternalReasoning? Type646 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointQuantization? Type647 { get; set; } + public global::OpenRouter.PublicEndpointPricingPrompt? Type647 { get; set; } /// /// /// - public global::OpenRouter.EndpointStatus? Type648 { get; set; } + public global::OpenRouter.PublicEndpointPricingRequest? Type648 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointThroughputLast30M? Type649 { get; set; } + public global::OpenRouter.PublicEndpointPricingWebSearch? Type649 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpoint? Type650 { get; set; } + public global::OpenRouter.PublicEndpointPricing? Type650 { get; set; } /// /// /// - public global::OpenRouter.EndpointsListEndpointsZdrResponse200? Type651 { get; set; } + public global::OpenRouter.PublicEndpointQuantization? Type651 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type652 { get; set; } + public global::OpenRouter.EndpointStatus? Type652 { get; set; } /// /// /// - public global::OpenRouter.InstructType2? Type653 { get; set; } + public global::OpenRouter.PublicEndpointThroughputLast30M? Type653 { get; set; } /// /// /// - public global::OpenRouter.ListEndpointsResponseArchitectureTokenizer? Type654 { get; set; } + public global::OpenRouter.PublicEndpoint? Type654 { get; set; } /// /// /// - public global::OpenRouter.ListEndpointsResponseArchitecture? Type655 { get; set; } + public global::OpenRouter.EndpointsListEndpointsZdrResponse200? Type655 { get; set; } /// /// /// - public global::OpenRouter.ListEndpointsResponse? Type656 { get; set; } + public global::System.Collections.Generic.IList? Type656 { get; set; } /// /// /// - public global::OpenRouter.EndpointsListEndpointsResponse200? Type657 { get; set; } + public global::OpenRouter.InstructType2? Type657 { get; set; } /// /// /// - public global::OpenRouter.GenerationResponseDataApiType? Type658 { get; set; } + public global::OpenRouter.ListEndpointsResponseArchitectureTokenizer? Type658 { get; set; } /// /// /// - public global::OpenRouter.ProviderResponseProviderName? Type659 { get; set; } + public global::OpenRouter.ListEndpointsResponseArchitecture? Type659 { get; set; } /// /// /// - public global::OpenRouter.ProviderResponse? Type660 { get; set; } + public global::OpenRouter.ListEndpointsResponse? Type660 { get; set; } /// /// /// - public global::OpenRouter.GenerationResponseData? Type661 { get; set; } + public global::OpenRouter.EndpointsListEndpointsResponse200? Type661 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type662 { get; set; } + public global::OpenRouter.GenerationResponseDataApiType? Type662 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type663 { get; set; } + public global::OpenRouter.ProviderResponseProviderName? Type663 { get; set; } /// /// /// - public global::OpenRouter.GenerationResponse? Type664 { get; set; } + public global::OpenRouter.ProviderResponse? Type664 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentDataInput0? Type665 { get; set; } + public global::OpenRouter.GenerationResponseData? Type665 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentDataInput1? Type666 { get; set; } + public global::OpenRouter.OneOf? Type666 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentDataInput? Type667 { get; set; } + public global::System.Collections.Generic.IList? Type667 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentDataOutput? Type668 { get; set; } + public global::OpenRouter.GenerationResponse? Type668 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentData? Type669 { get; set; } + public global::OpenRouter.GenerationContentDataInput0? Type669 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentResponse? Type670 { get; set; } + public global::OpenRouter.GenerationContentDataInput1? Type670 { get; set; } /// /// /// - public global::OpenRouter.GuardrailInterval? Type671 { get; set; } + public global::OpenRouter.GenerationContentDataInput? Type671 { get; set; } /// /// /// - public global::OpenRouter.Guardrail? Type672 { get; set; } + public global::OpenRouter.GenerationContentDataOutput? Type672 { get; set; } /// /// /// - public global::System.Guid? Type673 { get; set; } + public global::OpenRouter.GenerationContentData? Type673 { get; set; } /// /// /// - public global::OpenRouter.ListGuardrailsResponse? Type674 { get; set; } + public global::OpenRouter.GenerationContentResponse? Type674 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type675 { get; set; } + public global::OpenRouter.GuardrailInterval? Type675 { get; set; } /// /// /// - public global::OpenRouter.CreateGuardrailRequest? Type676 { get; set; } + public global::OpenRouter.Guardrail? Type676 { get; set; } /// /// /// - public global::OpenRouter.CreateGuardrailResponseData? Type677 { get; set; } + public global::System.Guid? Type677 { get; set; } /// /// /// - public global::OpenRouter.CreateGuardrailResponse? Type678 { get; set; } + public global::OpenRouter.ListGuardrailsResponse? Type678 { get; set; } /// /// /// - public global::OpenRouter.GetGuardrailResponseData? Type679 { get; set; } + public global::System.Collections.Generic.IList? Type679 { get; set; } /// /// /// - public global::OpenRouter.GetGuardrailResponse? Type680 { get; set; } + public global::OpenRouter.CreateGuardrailRequest? Type680 { get; set; } /// /// /// - public global::OpenRouter.DeleteGuardrailResponse? Type681 { get; set; } + public global::OpenRouter.CreateGuardrailResponseData? Type681 { get; set; } /// /// /// - public global::OpenRouter.UpdateGuardrailRequest? Type682 { get; set; } + public global::OpenRouter.CreateGuardrailResponse? Type682 { get; set; } /// /// /// - public global::OpenRouter.UpdateGuardrailResponseData? Type683 { get; set; } + public global::OpenRouter.GetGuardrailResponseData? Type683 { get; set; } /// /// /// - public global::OpenRouter.UpdateGuardrailResponse? Type684 { get; set; } + public global::OpenRouter.GetGuardrailResponse? Type684 { get; set; } /// /// /// - public global::OpenRouter.KeyAssignment? Type685 { get; set; } + public global::OpenRouter.DeleteGuardrailResponse? Type685 { get; set; } /// /// /// - public global::OpenRouter.ListKeyAssignmentsResponse? Type686 { get; set; } + public global::OpenRouter.UpdateGuardrailRequest? Type686 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type687 { get; set; } + public global::OpenRouter.UpdateGuardrailResponseData? Type687 { get; set; } /// /// /// - public global::OpenRouter.BulkAssignKeysRequest? Type688 { get; set; } + public global::OpenRouter.UpdateGuardrailResponse? Type688 { get; set; } /// /// /// - public global::OpenRouter.BulkAssignKeysResponse? Type689 { get; set; } + public global::OpenRouter.KeyAssignment? Type689 { get; set; } /// /// /// - public global::OpenRouter.BulkUnassignKeysRequest? Type690 { get; set; } + public global::OpenRouter.ListKeyAssignmentsResponse? Type690 { get; set; } /// /// /// - public global::OpenRouter.BulkUnassignKeysResponse? Type691 { get; set; } + public global::System.Collections.Generic.IList? Type691 { get; set; } /// /// /// - public global::OpenRouter.MemberAssignment? Type692 { get; set; } + public global::OpenRouter.BulkAssignKeysRequest? Type692 { get; set; } /// /// /// - public global::OpenRouter.ListMemberAssignmentsResponse? Type693 { get; set; } + public global::OpenRouter.BulkAssignKeysResponse? Type693 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type694 { get; set; } + public global::OpenRouter.BulkUnassignKeysRequest? Type694 { get; set; } /// /// /// - public global::OpenRouter.BulkAssignMembersRequest? Type695 { get; set; } + public global::OpenRouter.BulkUnassignKeysResponse? Type695 { get; set; } /// /// /// - public global::OpenRouter.BulkAssignMembersResponse? Type696 { get; set; } + public global::OpenRouter.MemberAssignment? Type696 { get; set; } /// /// /// - public global::OpenRouter.BulkUnassignMembersRequest? Type697 { get; set; } + public global::OpenRouter.ListMemberAssignmentsResponse? Type697 { get; set; } /// /// /// - public global::OpenRouter.BulkUnassignMembersResponse? Type698 { get; set; } + public global::System.Collections.Generic.IList? Type698 { get; set; } /// /// /// - public global::OpenRouter.KeyGetResponsesContentApplicationJsonSchemaDataRateLimit? Type699 { get; set; } + public global::OpenRouter.BulkAssignMembersRequest? Type699 { get; set; } /// /// /// - public global::OpenRouter.KeyGetResponsesContentApplicationJsonSchemaData? Type700 { get; set; } + public global::OpenRouter.BulkAssignMembersResponse? Type700 { get; set; } /// /// /// - public global::System.DateTime? Type701 { get; set; } + public global::OpenRouter.BulkUnassignMembersRequest? Type701 { get; set; } /// /// /// - public global::OpenRouter.ApiKeysGetCurrentKeyResponse200? Type702 { get; set; } + public global::OpenRouter.BulkUnassignMembersResponse? Type702 { get; set; } /// /// /// - public global::OpenRouter.KeysGetResponsesContentApplicationJsonSchemaDataItems? Type703 { get; set; } + public global::OpenRouter.KeyGetResponsesContentApplicationJsonSchemaDataRateLimit? Type703 { get; set; } /// /// /// - public global::OpenRouter.ApiKeysListResponse200? Type704 { get; set; } + public global::OpenRouter.KeyGetResponsesContentApplicationJsonSchemaData? Type704 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type705 { get; set; } + public global::System.DateTime? Type705 { get; set; } /// /// /// - public global::OpenRouter.KeysPostRequestBodyContentApplicationJsonSchemaLimitReset? Type706 { get; set; } + public global::OpenRouter.ApiKeysGetCurrentKeyResponse200? Type706 { get; set; } /// /// /// - public global::OpenRouter.KeysPostResponsesContentApplicationJsonSchemaData? Type707 { get; set; } + public global::OpenRouter.KeysGetResponsesContentApplicationJsonSchemaDataItems? Type707 { get; set; } /// /// /// - public global::OpenRouter.ApiKeysCreateKeysResponse201? Type708 { get; set; } + public global::OpenRouter.ApiKeysListResponse200? Type708 { get; set; } /// /// /// - public global::OpenRouter.KeysHashGetResponsesContentApplicationJsonSchemaData? Type709 { get; set; } + public global::System.Collections.Generic.IList? Type709 { get; set; } /// /// /// - public global::OpenRouter.ApiKeysGetKeyResponse200? Type710 { get; set; } + public global::OpenRouter.KeysPostRequestBodyContentApplicationJsonSchemaLimitReset? Type710 { get; set; } /// /// /// - public global::OpenRouter.ApiKeysDeleteKeysResponse200? Type711 { get; set; } + public global::OpenRouter.KeysPostResponsesContentApplicationJsonSchemaData? Type711 { get; set; } /// /// /// - public global::OpenRouter.KeysHashPatchRequestBodyContentApplicationJsonSchemaLimitReset? Type712 { get; set; } + public global::OpenRouter.ApiKeysCreateKeysResponse201? Type712 { get; set; } /// /// /// - public global::OpenRouter.KeysHashPatchResponsesContentApplicationJsonSchemaData? Type713 { get; set; } + public global::OpenRouter.KeysHashGetResponsesContentApplicationJsonSchemaData? Type713 { get; set; } /// /// /// - public global::OpenRouter.ApiKeysUpdateKeysResponse200? Type714 { get; set; } + public global::OpenRouter.ApiKeysGetKeyResponse200? Type714 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCacheControlDirective? Type715 { get; set; } + public global::OpenRouter.ApiKeysDeleteKeysResponse200? Type715 { get; set; } /// /// /// - public global::OpenRouter.AnthropicInputTokensClearAtLeastType? Type716 { get; set; } + public global::OpenRouter.KeysHashPatchRequestBodyContentApplicationJsonSchemaLimitReset? Type716 { get; set; } /// /// /// - public global::OpenRouter.AnthropicInputTokensClearAtLeast? Type717 { get; set; } + public global::OpenRouter.KeysHashPatchResponsesContentApplicationJsonSchemaData? Type717 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0ClearToolInputs? Type718 { get; set; } + public global::OpenRouter.ApiKeysUpdateKeysResponse200? Type718 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolUsesKeepType? Type719 { get; set; } + public global::OpenRouter.AnthropicCacheControlDirective? Type719 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolUsesKeep? Type720 { get; set; } + public global::OpenRouter.AnthropicInputTokensClearAtLeastType? Type720 { get; set; } /// /// /// - public global::OpenRouter.AnthropicInputTokensTriggerType? Type721 { get; set; } + public global::OpenRouter.AnthropicInputTokensClearAtLeast? Type721 { get; set; } /// /// /// - public global::OpenRouter.AnthropicInputTokensTrigger? Type722 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0ClearToolInputs? Type722 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolUsesTriggerType? Type723 { get; set; } + public global::OpenRouter.AnthropicToolUsesKeepType? Type723 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolUsesTrigger? Type724 { get; set; } + public global::OpenRouter.AnthropicToolUsesKeep? Type724 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0Trigger? Type725 { get; set; } + public global::OpenRouter.AnthropicInputTokensTriggerType? Type725 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0Type? Type726 { get; set; } + public global::OpenRouter.AnthropicInputTokensTrigger? Type726 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItems0? Type727 { get; set; } + public global::OpenRouter.AnthropicToolUsesTriggerType? Type727 { get; set; } /// /// /// - public global::OpenRouter.AnthropicThinkingTurnsType? Type728 { get; set; } + public global::OpenRouter.AnthropicToolUsesTrigger? Type728 { get; set; } /// /// /// - public global::OpenRouter.AnthropicThinkingTurns? Type729 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0Trigger? Type729 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1KeepOneOf1Type? Type730 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0Type? Type730 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1Keep1? Type731 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItems0? Type731 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1Keep2? Type732 { get; set; } + public global::OpenRouter.AnthropicThinkingTurnsType? Type732 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1Keep? Type733 { get; set; } + public global::OpenRouter.AnthropicThinkingTurns? Type733 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1Type? Type734 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1KeepOneOf1Type? Type734 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItems1? Type735 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1Keep1? Type735 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf2Trigger? Type736 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1Keep2? Type736 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf2Type? Type737 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1Keep? Type737 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItems2? Type738 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1Type? Type738 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItems? Type739 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItems1? Type739 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagement? Type740 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf2Trigger? Type740 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type741 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf2Type? Type741 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationCharLocationParamType? Type742 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItems2? Type742 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationCharLocationParam? Type743 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItems? Type743 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationPageLocationParamType? Type744 { get; set; } + public global::OpenRouter.MessagesRequestContextManagement? Type744 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationPageLocationParam? Type745 { get; set; } + public global::System.Collections.Generic.IList? Type745 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationContentBlockLocationParamType? Type746 { get; set; } + public global::OpenRouter.AnthropicCitationCharLocationParamType? Type746 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationContentBlockLocationParam? Type747 { get; set; } + public global::OpenRouter.AnthropicCitationCharLocationParam? Type747 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationWebSearchResultLocationType? Type748 { get; set; } + public global::OpenRouter.AnthropicCitationPageLocationParamType? Type748 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationWebSearchResultLocation? Type749 { get; set; } + public global::OpenRouter.AnthropicCitationPageLocationParam? Type749 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationSearchResultLocationType? Type750 { get; set; } + public global::OpenRouter.AnthropicCitationContentBlockLocationParamType? Type750 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationSearchResultLocation? Type751 { get; set; } + public global::OpenRouter.AnthropicCitationContentBlockLocationParam? Type751 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParamCitationsItems? Type752 { get; set; } + public global::OpenRouter.AnthropicCitationWebSearchResultLocationType? Type752 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParamType? Type753 { get; set; } + public global::OpenRouter.AnthropicCitationWebSearchResultLocation? Type753 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParam? Type754 { get; set; } + public global::OpenRouter.AnthropicCitationSearchResultLocationType? Type754 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type755 { get; set; } + public global::OpenRouter.AnthropicCitationSearchResultLocation? Type755 { get; set; } /// /// /// - public global::OpenRouter.AnthropicImageMimeType? Type756 { get; set; } + public global::OpenRouter.AnthropicTextBlockParamCitationsItems? Type756 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBase64ImageSourceType? Type757 { get; set; } + public global::OpenRouter.AnthropicTextBlockParamType? Type757 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBase64ImageSource? Type758 { get; set; } + public global::OpenRouter.AnthropicTextBlockParam? Type758 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUrlImageSourceType? Type759 { get; set; } + public global::System.Collections.Generic.IList? Type759 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUrlImageSource? Type760 { get; set; } + public global::OpenRouter.AnthropicImageMimeType? Type760 { get; set; } /// /// /// - public global::OpenRouter.AnthropicImageBlockParamSource? Type761 { get; set; } + public global::OpenRouter.AnthropicBase64ImageSourceType? Type761 { get; set; } /// /// /// - public global::OpenRouter.AnthropicImageBlockParamType? Type762 { get; set; } + public global::OpenRouter.AnthropicBase64ImageSource? Type762 { get; set; } /// /// /// - public global::OpenRouter.AnthropicImageBlockParam? Type763 { get; set; } + public global::OpenRouter.AnthropicUrlImageSourceType? Type763 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamCitations? Type764 { get; set; } + public global::OpenRouter.AnthropicUrlImageSource? Type764 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBase64PdfSourceMediaType? Type765 { get; set; } + public global::OpenRouter.AnthropicImageBlockParamSource? Type765 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBase64PdfSourceType? Type766 { get; set; } + public global::OpenRouter.AnthropicImageBlockParamType? Type766 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBase64PdfSource? Type767 { get; set; } + public global::OpenRouter.AnthropicImageBlockParam? Type767 { get; set; } /// /// /// - public global::OpenRouter.AnthropicPlainTextSourceMediaType? Type768 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamCitations? Type768 { get; set; } /// /// /// - public global::OpenRouter.AnthropicPlainTextSourceType? Type769 { get; set; } + public global::OpenRouter.AnthropicBase64PdfSourceMediaType? Type769 { get; set; } /// /// /// - public global::OpenRouter.AnthropicPlainTextSource? Type770 { get; set; } + public global::OpenRouter.AnthropicBase64PdfSourceType? Type770 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2ContentOneOf1Items? Type771 { get; set; } + public global::OpenRouter.AnthropicBase64PdfSource? Type771 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type772 { get; set; } + public global::OpenRouter.AnthropicPlainTextSourceMediaType? Type772 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2Content? Type773 { get; set; } + public global::OpenRouter.AnthropicPlainTextSourceType? Type773 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2Type? Type774 { get; set; } + public global::OpenRouter.AnthropicPlainTextSource? Type774 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamSource2? Type775 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2ContentOneOf1Items? Type775 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUrlPdfSourceType? Type776 { get; set; } + public global::System.Collections.Generic.IList? Type776 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUrlPdfSource? Type777 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2Content? Type777 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamSource? Type778 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2Type? Type778 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamType? Type779 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamSource2? Type779 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParam? Type780 { get; set; } + public global::OpenRouter.AnthropicUrlPdfSourceType? Type780 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type781 { get; set; } + public global::OpenRouter.AnthropicUrlPdfSource? Type781 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf3Type? Type782 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamSource? Type782 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1Items3? Type783 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamType? Type783 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf2Type? Type784 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParam? Type784 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items2? Type785 { get; set; } + public global::OpenRouter.OneOf? Type785 { get; set; } /// /// /// - public global::OpenRouter.AnthropicSearchResultBlockParamCitations? Type786 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf3Type? Type786 { get; set; } /// /// /// - public global::OpenRouter.AnthropicSearchResultBlockParamType? Type787 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1Items3? Type787 { get; set; } /// /// /// - public global::OpenRouter.AnthropicSearchResultBlockParam? Type788 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf2Type? Type788 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type789 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items2? Type789 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items? Type790 { get; set; } + public global::OpenRouter.AnthropicSearchResultBlockParamCitations? Type790 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type791 { get; set; } + public global::OpenRouter.AnthropicSearchResultBlockParamType? Type791 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4Content? Type792 { get; set; } + public global::OpenRouter.AnthropicSearchResultBlockParam? Type792 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4Type? Type793 { get; set; } + public global::System.Collections.Generic.IList? Type793 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1Items4? Type794 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items? Type794 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf5Type? Type795 { get; set; } + public global::System.Collections.Generic.IList? Type795 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1Items5? Type796 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4Content? Type796 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf6Type? Type797 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4Type? Type797 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1Items6? Type798 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1Items4? Type798 { get; set; } /// /// /// - public global::OpenRouter.AnthropicServerToolName? Type799 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf5Type? Type799 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf7Type? Type800 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1Items5? Type800 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1Items7? Type801 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf6Type? Type801 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchResultBlockParamType? Type802 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1Items6? Type802 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchResultBlockParam? Type803 { get; set; } + public global::OpenRouter.AnthropicServerToolName? Type803 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type804 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf7Type? Type804 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8ContentOneOf1ErrorCode? Type805 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1Items7? Type805 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8ContentOneOf1Type? Type806 { get; set; } + public global::OpenRouter.AnthropicWebSearchResultBlockParamType? Type806 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8Content1? Type807 { get; set; } + public global::OpenRouter.AnthropicWebSearchResultBlockParam? Type807 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8Content? Type808 { get; set; } + public global::System.Collections.Generic.IList? Type808 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8Type? Type809 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8ContentOneOf1ErrorCode? Type809 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1Items8? Type810 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8ContentOneOf1Type? Type810 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf10Type? Type811 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8Content1? Type811 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1Items10? Type812 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8Content? Type812 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1Items? Type813 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8Type? Type813 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type814 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1Items8? Type814 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContent? Type815 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf10Type? Type815 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamRole? Type816 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1Items10? Type816 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParam? Type817 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1Items? Type817 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestMetadata? Type818 { get; set; } + public global::System.Collections.Generic.IList? Type818 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigEffort? Type819 { get; set; } + public global::OpenRouter.MessagesMessageParamContent? Type819 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigFormatType? Type820 { get; set; } + public global::OpenRouter.MessagesMessageParamRole? Type820 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigFormat? Type821 { get; set; } + public global::OpenRouter.MessagesMessageParam? Type821 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigTaskBudgetType? Type822 { get; set; } + public global::OpenRouter.MessagesRequestMetadata? Type822 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigTaskBudget? Type823 { get; set; } + public global::OpenRouter.MessagesOutputConfigEffort? Type823 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfig? Type824 { get; set; } + public global::OpenRouter.MessagesOutputConfigFormatType? Type824 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type825 { get; set; } + public global::OpenRouter.MessagesOutputConfigFormat? Type825 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type826 { get; set; } + public global::OpenRouter.MessagesOutputConfigTaskBudgetType? Type826 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type827 { get; set; } + public global::OpenRouter.MessagesOutputConfigTaskBudget? Type827 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginsItems? Type828 { get; set; } + public global::OpenRouter.MessagesOutputConfig? Type828 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestServiceTier? Type829 { get; set; } + public global::OpenRouter.OneOf? Type829 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestSpeed? Type830 { get; set; } + public global::OpenRouter.OneOf? Type830 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestSystem? Type831 { get; set; } + public global::OpenRouter.OneOf? Type831 { get; set; } /// /// /// - public global::OpenRouter.AnthropicThinkingDisplay? Type832 { get; set; } + public global::OpenRouter.MessagesRequestPluginsItems? Type832 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingOneOf0Type? Type833 { get; set; } + public global::OpenRouter.MessagesRequestServiceTier? Type833 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinking0? Type834 { get; set; } + public global::OpenRouter.MessagesRequestSpeed? Type834 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingOneOf1Type? Type835 { get; set; } + public global::OpenRouter.MessagesRequestSystem? Type835 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinking1? Type836 { get; set; } + public global::OpenRouter.AnthropicThinkingDisplay? Type836 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingOneOf2Type? Type837 { get; set; } + public global::OpenRouter.MessagesRequestThinkingOneOf0Type? Type837 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinking2? Type838 { get; set; } + public global::OpenRouter.MessagesRequestThinking0? Type838 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinking? Type839 { get; set; } + public global::OpenRouter.MessagesRequestThinkingOneOf1Type? Type839 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceOneOf0Type? Type840 { get; set; } + public global::OpenRouter.MessagesRequestThinking1? Type840 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoice0? Type841 { get; set; } + public global::OpenRouter.MessagesRequestThinkingOneOf2Type? Type841 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceOneOf1Type? Type842 { get; set; } + public global::OpenRouter.MessagesRequestThinking2? Type842 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoice1? Type843 { get; set; } + public global::OpenRouter.MessagesRequestThinking? Type843 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceOneOf2Type? Type844 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceOneOf0Type? Type844 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoice2? Type845 { get; set; } + public global::OpenRouter.MessagesRequestToolChoice0? Type845 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceOneOf3Type? Type846 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceOneOf1Type? Type846 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoice3? Type847 { get; set; } + public global::OpenRouter.MessagesRequestToolChoice1? Type847 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoice? Type848 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceOneOf2Type? Type848 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf0InputSchema? Type849 { get; set; } + public global::OpenRouter.MessagesRequestToolChoice2? Type849 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf0Type? Type850 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceOneOf3Type? Type850 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItems0? Type851 { get; set; } + public global::OpenRouter.MessagesRequestToolChoice3? Type851 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf1Name? Type852 { get; set; } + public global::OpenRouter.MessagesRequestToolChoice? Type852 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf1Type? Type853 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf0InputSchema? Type853 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItems1? Type854 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf0Type? Type854 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf2Name? Type855 { get; set; } + public global::OpenRouter.MessagesRequestToolsItems0? Type855 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf2Type? Type856 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf1Name? Type856 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItems2? Type857 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf1Type? Type857 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf3Name? Type858 { get; set; } + public global::OpenRouter.MessagesRequestToolsItems1? Type858 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf3Type? Type859 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf2Name? Type859 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolUserLocationType? Type860 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf2Type? Type860 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolUserLocation? Type861 { get; set; } + public global::OpenRouter.MessagesRequestToolsItems2? Type861 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItems3? Type862 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf3Name? Type862 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf4AllowedCallersItems? Type863 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf3Type? Type863 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf4Name? Type864 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolUserLocationType? Type864 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf4Type? Type865 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolUserLocation? Type865 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItems4? Type866 { get; set; } + public global::OpenRouter.MessagesRequestToolsItems3? Type866 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type867 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf4AllowedCallersItems? Type867 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItems? Type868 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf4Name? Type868 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequest? Type869 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf4Type? Type869 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type870 { get; set; } + public global::OpenRouter.MessagesRequestToolsItems4? Type870 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type871 { get; set; } + public global::System.Collections.Generic.IList? Type871 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type872 { get; set; } + public global::OpenRouter.MessagesRequestToolsItems? Type872 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type873 { get; set; } + public global::OpenRouter.MessagesRequest? Type873 { get; set; } /// /// /// - public global::OpenRouter.AnthropicContainer? Type874 { get; set; } + public global::OpenRouter.OneOf? Type874 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationCharLocationType? Type875 { get; set; } + public global::System.Collections.Generic.IList? Type875 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationCharLocation? Type876 { get; set; } + public global::System.Collections.Generic.IList? Type876 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationPageLocationType? Type877 { get; set; } + public global::System.Collections.Generic.IList? Type877 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationPageLocation? Type878 { get; set; } + public global::OpenRouter.AnthropicContainer? Type878 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationContentBlockLocationType? Type879 { get; set; } + public global::OpenRouter.AnthropicCitationCharLocationType? Type879 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationContentBlockLocation? Type880 { get; set; } + public global::OpenRouter.AnthropicCitationCharLocation? Type880 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextCitation? Type881 { get; set; } + public global::OpenRouter.AnthropicCitationPageLocationType? Type881 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockType? Type882 { get; set; } + public global::OpenRouter.AnthropicCitationPageLocation? Type882 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlock? Type883 { get; set; } + public global::OpenRouter.AnthropicCitationContentBlockLocationType? Type883 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type884 { get; set; } + public global::OpenRouter.AnthropicCitationContentBlockLocation? Type884 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDirectCallerType? Type885 { get; set; } + public global::OpenRouter.AnthropicTextCitation? Type885 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDirectCaller? Type886 { get; set; } + public global::OpenRouter.AnthropicTextBlockType? Type886 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecution20250825CallerType? Type887 { get; set; } + public global::OpenRouter.AnthropicTextBlock? Type887 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecution20250825Caller? Type888 { get; set; } + public global::System.Collections.Generic.IList? Type888 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecution20260120CallerType? Type889 { get; set; } + public global::OpenRouter.AnthropicDirectCallerType? Type889 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecution20260120Caller? Type890 { get; set; } + public global::OpenRouter.AnthropicDirectCaller? Type890 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCaller? Type891 { get; set; } + public global::OpenRouter.AnthropicCodeExecution20250825CallerType? Type891 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolUseBlockType? Type892 { get; set; } + public global::OpenRouter.AnthropicCodeExecution20250825Caller? Type892 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolUseBlock? Type893 { get; set; } + public global::OpenRouter.AnthropicCodeExecution20260120CallerType? Type893 { get; set; } /// /// /// - public global::OpenRouter.AnthropicThinkingBlockType? Type894 { get; set; } + public global::OpenRouter.AnthropicCodeExecution20260120Caller? Type894 { get; set; } /// /// /// - public global::OpenRouter.AnthropicThinkingBlock? Type895 { get; set; } + public global::OpenRouter.AnthropicCaller? Type895 { get; set; } /// /// /// - public global::OpenRouter.AnthropicRedactedThinkingBlockType? Type896 { get; set; } + public global::OpenRouter.AnthropicToolUseBlockType? Type896 { get; set; } /// /// /// - public global::OpenRouter.AnthropicRedactedThinkingBlock? Type897 { get; set; } + public global::OpenRouter.AnthropicToolUseBlock? Type897 { get; set; } /// /// /// - public global::OpenRouter.AnthropicServerToolUseBlockType? Type898 { get; set; } + public global::OpenRouter.AnthropicThinkingBlockType? Type898 { get; set; } /// /// /// - public global::OpenRouter.AnthropicServerToolUseBlock? Type899 { get; set; } + public global::OpenRouter.AnthropicThinkingBlock? Type899 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchResultType? Type900 { get; set; } + public global::OpenRouter.AnthropicRedactedThinkingBlockType? Type900 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchResult? Type901 { get; set; } + public global::OpenRouter.AnthropicRedactedThinkingBlock? Type901 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type902 { get; set; } + public global::OpenRouter.AnthropicServerToolUseBlockType? Type902 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolResultErrorErrorCode? Type903 { get; set; } + public global::OpenRouter.AnthropicServerToolUseBlock? Type903 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolResultErrorType? Type904 { get; set; } + public global::OpenRouter.AnthropicWebSearchResultType? Type904 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolResultError? Type905 { get; set; } + public global::OpenRouter.AnthropicWebSearchResult? Type905 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolResultContent? Type906 { get; set; } + public global::System.Collections.Generic.IList? Type906 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolResultType? Type907 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolResultErrorErrorCode? Type907 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolResult? Type908 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolResultErrorType? Type908 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchToolResultErrorErrorCode? Type909 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolResultError? Type909 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchToolResultErrorType? Type910 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolResultContent? Type910 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchToolResultError? Type911 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolResultType? Type911 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationsConfig? Type912 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolResult? Type912 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockSource? Type913 { get; set; } + public global::OpenRouter.AnthropicWebFetchToolResultErrorErrorCode? Type913 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockType? Type914 { get; set; } + public global::OpenRouter.AnthropicWebFetchToolResultErrorType? Type914 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlock? Type915 { get; set; } + public global::OpenRouter.AnthropicWebFetchToolResultError? Type915 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchBlockType? Type916 { get; set; } + public global::OpenRouter.AnthropicCitationsConfig? Type916 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchBlock? Type917 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockSource? Type917 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchContent? Type918 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockType? Type918 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchToolResultType? Type919 { get; set; } + public global::OpenRouter.AnthropicDocumentBlock? Type919 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchToolResult? Type920 { get; set; } + public global::OpenRouter.AnthropicWebFetchBlockType? Type920 { get; set; } /// /// /// - public global::OpenRouter.AnthropicServerToolErrorCode? Type921 { get; set; } + public global::OpenRouter.AnthropicWebFetchBlock? Type921 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionToolResultErrorType? Type922 { get; set; } + public global::OpenRouter.AnthropicWebFetchContent? Type922 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionToolResultError? Type923 { get; set; } + public global::OpenRouter.AnthropicWebFetchToolResultType? Type923 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionOutputType? Type924 { get; set; } + public global::OpenRouter.AnthropicWebFetchToolResult? Type924 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionOutput? Type925 { get; set; } + public global::OpenRouter.AnthropicServerToolErrorCode? Type925 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionResultType? Type926 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionToolResultErrorType? Type926 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionResult? Type927 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionToolResultError? Type927 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type928 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionOutputType? Type928 { get; set; } /// /// /// - public global::OpenRouter.AnthropicEncryptedCodeExecutionResultType? Type929 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionOutput? Type929 { get; set; } /// /// /// - public global::OpenRouter.AnthropicEncryptedCodeExecutionResult? Type930 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionResultType? Type930 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionContent? Type931 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionResult? Type931 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionToolResultType? Type932 { get; set; } + public global::System.Collections.Generic.IList? Type932 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionToolResult? Type933 { get; set; } + public global::OpenRouter.AnthropicEncryptedCodeExecutionResultType? Type933 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionToolResultErrorErrorCode? Type934 { get; set; } + public global::OpenRouter.AnthropicEncryptedCodeExecutionResult? Type934 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionToolResultErrorType? Type935 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionContent? Type935 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionToolResultError? Type936 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionToolResultType? Type936 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionOutputType? Type937 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionToolResult? Type937 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionOutput? Type938 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionToolResultErrorErrorCode? Type938 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionResultType? Type939 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionToolResultErrorType? Type939 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionResult? Type940 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionToolResultError? Type940 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type941 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionOutputType? Type941 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionContent? Type942 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionOutput? Type942 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionToolResultType? Type943 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionResultType? Type943 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionToolResult? Type944 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionResult? Type944 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultErrorErrorCode? Type945 { get; set; } + public global::System.Collections.Generic.IList? Type945 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultErrorType? Type946 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionContent? Type946 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultError? Type947 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionToolResultType? Type947 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResultFileType? Type948 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionToolResult? Type948 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResultType? Type949 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultErrorErrorCode? Type949 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResult? Type950 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultErrorType? Type950 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionCreateResultType? Type951 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultError? Type951 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionCreateResult? Type952 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResultFileType? Type952 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionStrReplaceResultType? Type953 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResultType? Type953 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionStrReplaceResult? Type954 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResult? Type954 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionContent? Type955 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionCreateResultType? Type955 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultType? Type956 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionCreateResult? Type956 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResult? Type957 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionStrReplaceResultType? Type957 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchResultErrorType? Type958 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionStrReplaceResult? Type958 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchResultError? Type959 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionContent? Type959 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolReferenceType? Type960 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultType? Type960 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolReference? Type961 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResult? Type961 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchResultType? Type962 { get; set; } + public global::OpenRouter.AnthropicToolSearchResultErrorType? Type962 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchResult? Type963 { get; set; } + public global::OpenRouter.AnthropicToolSearchResultError? Type963 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type964 { get; set; } + public global::OpenRouter.AnthropicToolReferenceType? Type964 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchContent? Type965 { get; set; } + public global::OpenRouter.AnthropicToolReference? Type965 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchToolResultType? Type966 { get; set; } + public global::OpenRouter.AnthropicToolSearchResultType? Type966 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchToolResult? Type967 { get; set; } + public global::OpenRouter.AnthropicToolSearchResult? Type967 { get; set; } /// /// /// - public global::OpenRouter.AnthropicContainerUploadType? Type968 { get; set; } + public global::System.Collections.Generic.IList? Type968 { get; set; } /// /// /// - public global::OpenRouter.AnthropicContainerUpload? Type969 { get; set; } + public global::OpenRouter.AnthropicToolSearchContent? Type969 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCompactionBlockType? Type970 { get; set; } + public global::OpenRouter.AnthropicToolSearchToolResultType? Type970 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCompactionBlock? Type971 { get; set; } + public global::OpenRouter.AnthropicToolSearchToolResult? Type971 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlock? Type972 { get; set; } + public global::OpenRouter.AnthropicContainerUploadType? Type972 { get; set; } /// /// /// - public global::OpenRouter.BaseMessagesResultRole? Type973 { get; set; } + public global::OpenRouter.AnthropicContainerUpload? Type973 { get; set; } /// /// /// - public global::OpenRouter.AnthropicRefusalStopDetailsCategory? Type974 { get; set; } + public global::OpenRouter.AnthropicCompactionBlockType? Type974 { get; set; } /// /// /// - public global::OpenRouter.AnthropicRefusalStopDetailsType? Type975 { get; set; } + public global::OpenRouter.AnthropicCompactionBlock? Type975 { get; set; } /// /// /// - public global::OpenRouter.AnthropicRefusalStopDetails? Type976 { get; set; } + public global::OpenRouter.ORAnthropicContentBlock? Type976 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type977 { get; set; } + public global::OpenRouter.BaseMessagesResultRole? Type977 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicStopReason? Type978 { get; set; } + public global::OpenRouter.AnthropicRefusalStopDetailsCategory? Type978 { get; set; } /// /// /// - public global::OpenRouter.BaseMessagesResultType? Type979 { get; set; } + public global::OpenRouter.AnthropicRefusalStopDetailsType? Type979 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCacheCreation? Type980 { get; set; } + public global::OpenRouter.AnthropicRefusalStopDetails? Type980 { get; set; } /// /// /// - public global::OpenRouter.AnthropicServerToolUsage? Type981 { get; set; } + public global::OpenRouter.OneOf? Type981 { get; set; } /// /// /// - public global::OpenRouter.AnthropicServiceTier? Type982 { get; set; } + public global::OpenRouter.ORAnthropicStopReason? Type982 { get; set; } /// /// /// - public global::OpenRouter.AnthropicIterationCacheCreation? Type983 { get; set; } + public global::OpenRouter.BaseMessagesResultType? Type983 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCompactionUsageIterationType? Type984 { get; set; } + public global::OpenRouter.AnthropicCacheCreation? Type984 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCompactionUsageIteration? Type985 { get; set; } + public global::OpenRouter.AnthropicServerToolUsage? Type985 { get; set; } /// /// /// - public global::OpenRouter.AnthropicMessageUsageIterationType? Type986 { get; set; } + public global::OpenRouter.AnthropicServiceTier? Type986 { get; set; } /// /// /// - public global::OpenRouter.AnthropicMessageUsageIteration? Type987 { get; set; } + public global::OpenRouter.AnthropicIterationCacheCreation? Type987 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUnknownUsageIteration? Type988 { get; set; } + public global::OpenRouter.AnthropicCompactionUsageIterationType? Type988 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUsageIteration? Type989 { get; set; } + public global::OpenRouter.AnthropicCompactionUsageIteration? Type989 { get; set; } /// /// /// - public global::OpenRouter.AnthropicSpeed? Type990 { get; set; } + public global::OpenRouter.AnthropicMessageUsageIterationType? Type990 { get; set; } /// /// /// - public global::OpenRouter.BaseMessagesResultUsage? Type991 { get; set; } + public global::OpenRouter.AnthropicMessageUsageIteration? Type991 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type992 { get; set; } + public global::OpenRouter.AnthropicUnknownUsageIteration? Type992 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultContextManagementAppliedEditsItems? Type993 { get; set; } + public global::OpenRouter.AnthropicUsageIteration? Type993 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultContextManagement? Type994 { get; set; } + public global::OpenRouter.AnthropicSpeed? Type994 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type995 { get; set; } + public global::OpenRouter.BaseMessagesResultUsage? Type995 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultUsageCostDetails? Type996 { get; set; } + public global::System.Collections.Generic.IList? Type996 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultUsage? Type997 { get; set; } + public global::OpenRouter.MessagesResultContextManagementAppliedEditsItems? Type997 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type998 { get; set; } + public global::OpenRouter.MessagesResultContextManagement? Type998 { get; set; } /// /// /// - public global::OpenRouter.MessagesResult? Type999 { get; set; } + public global::System.Collections.Generic.IList? Type999 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1000 { get; set; } + public global::OpenRouter.MessagesResultUsageCostDetails? Type1000 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type1001 { get; set; } + public global::OpenRouter.MessagesResultUsage? Type1001 { get; set; } /// /// /// - public global::OpenRouter.MessagesErrorDetail? Type1002 { get; set; } + public global::OpenRouter.OneOf? Type1002 { get; set; } /// /// /// - public global::OpenRouter.MessagesErrorResponseType? Type1003 { get; set; } + public global::OpenRouter.MessagesResult? Type1003 { get; set; } /// /// /// - public global::OpenRouter.MessagesErrorResponse? Type1004 { get; set; } + public global::System.Collections.Generic.IList? Type1004 { get; set; } /// /// /// - public global::OpenRouter.ModelsGetParametersCategory? Type1005 { get; set; } + public global::OpenRouter.OneOf? Type1005 { get; set; } /// /// /// - public global::OpenRouter.ModelsCountResponseData? Type1006 { get; set; } + public global::OpenRouter.MessagesErrorDetail? Type1006 { get; set; } /// /// /// - public global::OpenRouter.ModelsCountResponse? Type1007 { get; set; } + public global::OpenRouter.MessagesErrorResponseType? Type1007 { get; set; } /// /// /// - public global::OpenRouter.OrganizationMembersGetResponsesContentApplicationJsonSchemaDataItemsRole? Type1008 { get; set; } + public global::OpenRouter.MessagesErrorResponse? Type1008 { get; set; } /// /// /// - public global::OpenRouter.OrganizationMembersGetResponsesContentApplicationJsonSchemaDataItems? Type1009 { get; set; } + public global::OpenRouter.ModelsGetParametersCategory? Type1009 { get; set; } /// /// /// - public global::OpenRouter.OrganizationListOrganizationMembersResponse200? Type1010 { get; set; } + public global::OpenRouter.ModelsCountResponseData? Type1010 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1011 { get; set; } + public global::OpenRouter.ModelsCountResponse? Type1011 { get; set; } /// /// /// - public global::OpenRouter.ProvidersGetResponsesContentApplicationJsonSchemaDataItemsDatacentersItems? Type1012 { get; set; } + public global::OpenRouter.OrganizationMembersGetResponsesContentApplicationJsonSchemaDataItemsRole? Type1012 { get; set; } /// /// /// - public global::OpenRouter.ProvidersGetResponsesContentApplicationJsonSchemaDataItemsHeadquarters? Type1013 { get; set; } + public global::OpenRouter.OrganizationMembersGetResponsesContentApplicationJsonSchemaDataItems? Type1013 { get; set; } /// /// /// - public global::OpenRouter.ProvidersGetResponsesContentApplicationJsonSchemaDataItems? Type1014 { get; set; } + public global::OpenRouter.OrganizationListOrganizationMembersResponse200? Type1014 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1015 { get; set; } + public global::System.Collections.Generic.IList? Type1015 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type1016 { get; set; } + public global::OpenRouter.ProvidersGetResponsesContentApplicationJsonSchemaDataItemsDatacentersItems? Type1016 { get; set; } /// /// /// - public global::OpenRouter.ProvidersListProvidersResponse200? Type1017 { get; set; } + public global::OpenRouter.ProvidersGetResponsesContentApplicationJsonSchemaDataItemsHeadquarters? Type1017 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1018 { get; set; } + public global::OpenRouter.ProvidersGetResponsesContentApplicationJsonSchemaDataItems? Type1018 { get; set; } /// /// /// - public global::OpenRouter.RerankPostRequestBodyContentApplicationJsonSchemaProvider? Type1019 { get; set; } + public global::System.Collections.Generic.IList? Type1019 { get; set; } /// /// /// - public global::OpenRouter.RerankPostResponsesContentApplicationJsonSchemaResultsItemsDocument? Type1020 { get; set; } + public global::OpenRouter.OneOf? Type1020 { get; set; } /// /// /// - public global::OpenRouter.RerankPostResponsesContentApplicationJsonSchemaResultsItems? Type1021 { get; set; } + public global::OpenRouter.ProvidersListProvidersResponse200? Type1021 { get; set; } /// /// /// - public global::OpenRouter.RerankPostResponsesContentApplicationJsonSchemaUsage? Type1022 { get; set; } + public global::System.Collections.Generic.IList? Type1022 { get; set; } /// /// /// - public global::OpenRouter.RerankCreateRerankResponse200? Type1023 { get; set; } + public global::OpenRouter.RerankPostRequestBodyContentApplicationJsonSchemaProvider? Type1023 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1024 { get; set; } + public global::OpenRouter.RerankPostResponsesContentApplicationJsonSchemaResultsItemsDocument? Type1024 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequestAspectRatio? Type1025 { get; set; } + public global::OpenRouter.RerankPostResponsesContentApplicationJsonSchemaResultsItems? Type1025 { get; set; } /// /// /// - public global::OpenRouter.ContentPartImageImageUrl? Type1026 { get; set; } + public global::OpenRouter.RerankPostResponsesContentApplicationJsonSchemaUsage? Type1026 { get; set; } /// /// /// - public global::OpenRouter.ContentPartImageType? Type1027 { get; set; } + public global::OpenRouter.RerankCreateRerankResponse200? Type1027 { get; set; } /// /// /// - public global::OpenRouter.FrameImageFrameType? Type1028 { get; set; } + public global::System.Collections.Generic.IList? Type1028 { get; set; } /// /// /// - public global::OpenRouter.FrameImage? Type1029 { get; set; } + public global::OpenRouter.VideoGenerationRequestAspectRatio? Type1029 { get; set; } /// /// /// - public global::OpenRouter.ContentPartImage? Type1030 { get; set; } + public global::OpenRouter.ContentPartImageImageUrl? Type1030 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequestProviderOptions? Type1031 { get; set; } + public global::OpenRouter.ContentPartImageType? Type1031 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequestProvider? Type1032 { get; set; } + public global::OpenRouter.FrameImageFrameType? Type1032 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequestResolution? Type1033 { get; set; } + public global::OpenRouter.FrameImage? Type1033 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequest? Type1034 { get; set; } + public global::OpenRouter.ContentPartImage? Type1034 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1035 { get; set; } + public global::OpenRouter.VideoGenerationRequestProviderOptions? Type1035 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1036 { get; set; } + public global::OpenRouter.VideoGenerationRequestProvider? Type1036 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationResponseStatus? Type1037 { get; set; } + public global::OpenRouter.VideoGenerationRequestResolution? Type1037 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationUsage? Type1038 { get; set; } + public global::OpenRouter.VideoGenerationRequest? Type1038 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationResponse? Type1039 { get; set; } + public global::System.Collections.Generic.IList? Type1039 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedAspectRatiosItems? Type1040 { get; set; } + public global::System.Collections.Generic.IList? Type1040 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedFrameImagesItems? Type1041 { get; set; } + public global::OpenRouter.VideoGenerationResponseStatus? Type1041 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedResolutionsItems? Type1042 { get; set; } + public global::OpenRouter.VideoGenerationUsage? Type1042 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedSizesItems? Type1043 { get; set; } + public global::OpenRouter.VideoGenerationResponse? Type1043 { get; set; } /// /// /// - public global::OpenRouter.VideoModel? Type1044 { get; set; } + public global::OpenRouter.VideoModelSupportedAspectRatiosItems? Type1044 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1045 { get; set; } + public global::OpenRouter.VideoModelSupportedFrameImagesItems? Type1045 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1046 { get; set; } + public global::OpenRouter.VideoModelSupportedResolutionsItems? Type1046 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1047 { get; set; } + public global::OpenRouter.VideoModelSupportedSizesItems? Type1047 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1048 { get; set; } + public global::OpenRouter.VideoModel? Type1048 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1049 { get; set; } + public global::System.Collections.Generic.IList? Type1049 { get; set; } /// /// /// - public global::OpenRouter.VideoModelsListResponse? Type1050 { get; set; } + public global::System.Collections.Generic.IList? Type1050 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1051 { get; set; } + public global::System.Collections.Generic.IList? Type1051 { get; set; } /// /// /// - public global::OpenRouter.Workspace? Type1052 { get; set; } + public global::System.Collections.Generic.IList? Type1052 { get; set; } /// /// /// - public global::OpenRouter.ListWorkspacesResponse? Type1053 { get; set; } + public global::System.Collections.Generic.IList? Type1053 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1054 { get; set; } + public global::OpenRouter.VideoModelsListResponse? Type1054 { get; set; } /// /// /// - public global::OpenRouter.CreateWorkspaceRequest? Type1055 { get; set; } + public global::System.Collections.Generic.IList? Type1055 { get; set; } /// /// /// - public global::OpenRouter.CreateWorkspaceResponseData? Type1056 { get; set; } + public global::OpenRouter.Workspace? Type1056 { get; set; } /// /// /// - public global::OpenRouter.CreateWorkspaceResponse? Type1057 { get; set; } + public global::OpenRouter.ListWorkspacesResponse? Type1057 { get; set; } /// /// /// - public global::OpenRouter.GetWorkspaceResponseData? Type1058 { get; set; } + public global::System.Collections.Generic.IList? Type1058 { get; set; } /// /// /// - public global::OpenRouter.GetWorkspaceResponse? Type1059 { get; set; } + public global::OpenRouter.CreateWorkspaceRequest? Type1059 { get; set; } /// /// /// - public global::OpenRouter.DeleteWorkspaceResponse? Type1060 { get; set; } + public global::OpenRouter.CreateWorkspaceResponseData? Type1060 { get; set; } /// /// /// - public global::OpenRouter.UpdateWorkspaceRequest? Type1061 { get; set; } + public global::OpenRouter.CreateWorkspaceResponse? Type1061 { get; set; } /// /// /// - public global::OpenRouter.UpdateWorkspaceResponseData? Type1062 { get; set; } + public global::OpenRouter.GetWorkspaceResponseData? Type1062 { get; set; } /// /// /// - public global::OpenRouter.UpdateWorkspaceResponse? Type1063 { get; set; } + public global::OpenRouter.GetWorkspaceResponse? Type1063 { get; set; } /// /// /// - public global::OpenRouter.BulkAddWorkspaceMembersRequest? Type1064 { get; set; } + public global::OpenRouter.DeleteWorkspaceResponse? Type1064 { get; set; } /// /// /// - public global::OpenRouter.WorkspaceMemberRole? Type1065 { get; set; } + public global::OpenRouter.UpdateWorkspaceRequest? Type1065 { get; set; } /// /// /// - public global::OpenRouter.WorkspaceMember? Type1066 { get; set; } + public global::OpenRouter.UpdateWorkspaceResponseData? Type1066 { get; set; } /// /// /// - public global::OpenRouter.BulkAddWorkspaceMembersResponse? Type1067 { get; set; } + public global::OpenRouter.UpdateWorkspaceResponse? Type1067 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1068 { get; set; } + public global::OpenRouter.BulkAddWorkspaceMembersRequest? Type1068 { get; set; } /// /// /// - public global::OpenRouter.BulkRemoveWorkspaceMembersRequest? Type1069 { get; set; } + public global::OpenRouter.WorkspaceMemberRole? Type1069 { get; set; } /// /// /// - public global::OpenRouter.BulkRemoveWorkspaceMembersResponse? Type1070 { get; set; } + public global::OpenRouter.WorkspaceMember? Type1070 { get; set; } /// /// /// - public global::OpenRouter.ExchangeAuthCodeForApiKeyRequest? Type1071 { get; set; } + public global::OpenRouter.BulkAddWorkspaceMembersResponse? Type1071 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type1072 { get; set; } + public global::System.Collections.Generic.IList? Type1072 { get; set; } /// /// /// - public global::OpenRouter.CreateAuthKeysCodeRequest? Type1073 { get; set; } + public global::OpenRouter.BulkRemoveWorkspaceMembersRequest? Type1073 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequest? Type1074 { get; set; } + public global::OpenRouter.BulkRemoveWorkspaceMembersResponse? Type1074 { get; set; } /// /// /// - public global::OpenRouter.CreateKeysRequest? Type1075 { get; set; } + public global::OpenRouter.ExchangeAuthCodeForApiKeyRequest? Type1075 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type1076 { get; set; } + public global::OpenRouter.OneOf? Type1076 { get; set; } /// /// /// - public global::OpenRouter.UpdateKeysRequest? Type1077 { get; set; } + public global::OpenRouter.CreateAuthKeysCodeRequest? Type1077 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type1078 { get; set; } + public global::OpenRouter.CreateEmbeddingsRequest? Type1078 { get; set; } /// /// /// - public global::OpenRouter.CreateRerankRequest? Type1079 { get; set; } + public global::OpenRouter.CreateKeysRequest? Type1079 { get; set; } /// /// /// - public byte[]? Type1080 { get; set; } + public global::OpenRouter.OneOf? Type1080 { get; set; } + /// + /// + /// + public global::OpenRouter.UpdateKeysRequest? Type1081 { get; set; } + /// + /// + /// + public global::OpenRouter.OneOf? Type1082 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateRerankRequest? Type1083 { get; set; } + /// + /// + /// + public byte[]? Type1084 { get; set; } /// /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatFunctionTool.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatFunctionTool.g.cs index 933fdc01..857a037c 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatFunctionTool.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatFunctionTool.g.cs @@ -77,6 +77,23 @@ namespace OpenRouter #endif public bool IsChatSearchModelsServerTool => ChatSearchModelsServerTool != null; + /// + /// OpenRouter built-in server tool: fetches full content from a URL (web page or PDF) + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.WebFetchServerTool? WebFetchServerTool { get; init; } +#else + public global::OpenRouter.WebFetchServerTool? WebFetchServerTool { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(WebFetchServerTool))] +#endif + public bool IsWebFetchServerTool => WebFetchServerTool != null; + /// /// OpenRouter built-in server tool: searches the web for current information /// @@ -182,6 +199,24 @@ public ChatFunctionTool(global::OpenRouter.ChatSearchModelsServerTool? value) ChatSearchModelsServerTool = value; } + /// + /// + /// + public static implicit operator ChatFunctionTool(global::OpenRouter.WebFetchServerTool value) => new ChatFunctionTool((global::OpenRouter.WebFetchServerTool?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.WebFetchServerTool?(ChatFunctionTool @this) => @this.WebFetchServerTool; + + /// + /// + /// + public ChatFunctionTool(global::OpenRouter.WebFetchServerTool? value) + { + WebFetchServerTool = value; + } + /// /// /// @@ -226,6 +261,7 @@ public ChatFunctionTool( global::OpenRouter.DatetimeServerTool? datetimeServerTool, global::OpenRouter.ImageGenerationServerToolOpenRouter? imageGenerationServerToolOpenRouter, global::OpenRouter.ChatSearchModelsServerTool? chatSearchModelsServerTool, + global::OpenRouter.WebFetchServerTool? webFetchServerTool, global::OpenRouter.OpenRouterWebSearchServerTool? openRouterWebSearchServerTool, global::OpenRouter.ChatWebSearchShorthand? chatWebSearchShorthand ) @@ -234,6 +270,7 @@ public ChatFunctionTool( DatetimeServerTool = datetimeServerTool; ImageGenerationServerToolOpenRouter = imageGenerationServerToolOpenRouter; ChatSearchModelsServerTool = chatSearchModelsServerTool; + WebFetchServerTool = webFetchServerTool; OpenRouterWebSearchServerTool = openRouterWebSearchServerTool; ChatWebSearchShorthand = chatWebSearchShorthand; } @@ -244,6 +281,7 @@ public ChatFunctionTool( public object? Object => ChatWebSearchShorthand as object ?? OpenRouterWebSearchServerTool as object ?? + WebFetchServerTool as object ?? ChatSearchModelsServerTool as object ?? ImageGenerationServerToolOpenRouter as object ?? DatetimeServerTool as object ?? @@ -258,6 +296,7 @@ ChatFunctionTool0 as object DatetimeServerTool?.ToString() ?? ImageGenerationServerToolOpenRouter?.ToString() ?? ChatSearchModelsServerTool?.ToString() ?? + WebFetchServerTool?.ToString() ?? OpenRouterWebSearchServerTool?.ToString() ?? ChatWebSearchShorthand?.ToString() ; @@ -267,7 +306,7 @@ ChatFunctionTool0 as object /// public bool Validate() { - return IsChatFunctionTool0 && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsOpenRouterWebSearchServerTool && !IsChatWebSearchShorthand || !IsChatFunctionTool0 && IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsOpenRouterWebSearchServerTool && !IsChatWebSearchShorthand || !IsChatFunctionTool0 && !IsDatetimeServerTool && IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsOpenRouterWebSearchServerTool && !IsChatWebSearchShorthand || !IsChatFunctionTool0 && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && IsChatSearchModelsServerTool && !IsOpenRouterWebSearchServerTool && !IsChatWebSearchShorthand || !IsChatFunctionTool0 && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && IsOpenRouterWebSearchServerTool && !IsChatWebSearchShorthand || !IsChatFunctionTool0 && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsOpenRouterWebSearchServerTool && IsChatWebSearchShorthand; + return IsChatFunctionTool0 && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebFetchServerTool && !IsOpenRouterWebSearchServerTool && !IsChatWebSearchShorthand || !IsChatFunctionTool0 && IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebFetchServerTool && !IsOpenRouterWebSearchServerTool && !IsChatWebSearchShorthand || !IsChatFunctionTool0 && !IsDatetimeServerTool && IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebFetchServerTool && !IsOpenRouterWebSearchServerTool && !IsChatWebSearchShorthand || !IsChatFunctionTool0 && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && IsChatSearchModelsServerTool && !IsWebFetchServerTool && !IsOpenRouterWebSearchServerTool && !IsChatWebSearchShorthand || !IsChatFunctionTool0 && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && IsWebFetchServerTool && !IsOpenRouterWebSearchServerTool && !IsChatWebSearchShorthand || !IsChatFunctionTool0 && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebFetchServerTool && IsOpenRouterWebSearchServerTool && !IsChatWebSearchShorthand || !IsChatFunctionTool0 && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebFetchServerTool && !IsOpenRouterWebSearchServerTool && IsChatWebSearchShorthand; } /// @@ -278,6 +317,7 @@ public bool Validate() global::System.Func? datetimeServerTool = null, global::System.Func? imageGenerationServerToolOpenRouter = null, global::System.Func? chatSearchModelsServerTool = null, + global::System.Func? webFetchServerTool = null, global::System.Func? openRouterWebSearchServerTool = null, global::System.Func? chatWebSearchShorthand = null, bool validate = true) @@ -303,6 +343,10 @@ public bool Validate() { return chatSearchModelsServerTool(ChatSearchModelsServerTool!); } + else if (IsWebFetchServerTool && webFetchServerTool != null) + { + return webFetchServerTool(WebFetchServerTool!); + } else if (IsOpenRouterWebSearchServerTool && openRouterWebSearchServerTool != null) { return openRouterWebSearchServerTool(OpenRouterWebSearchServerTool!); @@ -323,6 +367,7 @@ public void Match( global::System.Action? datetimeServerTool = null, global::System.Action? imageGenerationServerToolOpenRouter = null, global::System.Action? chatSearchModelsServerTool = null, + global::System.Action? webFetchServerTool = null, global::System.Action? openRouterWebSearchServerTool = null, global::System.Action? chatWebSearchShorthand = null, bool validate = true) @@ -348,6 +393,10 @@ public void Match( { chatSearchModelsServerTool?.Invoke(ChatSearchModelsServerTool!); } + else if (IsWebFetchServerTool) + { + webFetchServerTool?.Invoke(WebFetchServerTool!); + } else if (IsOpenRouterWebSearchServerTool) { openRouterWebSearchServerTool?.Invoke(OpenRouterWebSearchServerTool!); @@ -373,6 +422,8 @@ public override int GetHashCode() typeof(global::OpenRouter.ImageGenerationServerToolOpenRouter), ChatSearchModelsServerTool, typeof(global::OpenRouter.ChatSearchModelsServerTool), + WebFetchServerTool, + typeof(global::OpenRouter.WebFetchServerTool), OpenRouterWebSearchServerTool, typeof(global::OpenRouter.OpenRouterWebSearchServerTool), ChatWebSearchShorthand, @@ -397,6 +448,7 @@ public bool Equals(ChatFunctionTool other) global::System.Collections.Generic.EqualityComparer.Default.Equals(DatetimeServerTool, other.DatetimeServerTool) && global::System.Collections.Generic.EqualityComparer.Default.Equals(ImageGenerationServerToolOpenRouter, other.ImageGenerationServerToolOpenRouter) && global::System.Collections.Generic.EqualityComparer.Default.Equals(ChatSearchModelsServerTool, other.ChatSearchModelsServerTool) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(WebFetchServerTool, other.WebFetchServerTool) && global::System.Collections.Generic.EqualityComparer.Default.Equals(OpenRouterWebSearchServerTool, other.OpenRouterWebSearchServerTool) && global::System.Collections.Generic.EqualityComparer.Default.Equals(ChatWebSearchShorthand, other.ChatWebSearchShorthand) ; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.GenerationResponseData.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.GenerationResponseData.g.cs index a2d83acb..4d1647f1 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.GenerationResponseData.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.GenerationResponseData.g.cs @@ -134,6 +134,12 @@ public sealed partial class GenerationResponseData [global::System.Text.Json.Serialization.JsonPropertyName("native_tokens_reasoning")] public int? NativeTokensReasoning { get; set; } + /// + /// Number of web fetches performed + /// + [global::System.Text.Json.Serialization.JsonPropertyName("num_fetches")] + public int? NumFetches { get; set; } + /// /// Number of audio inputs in the prompt /// @@ -329,6 +335,9 @@ public sealed partial class GenerationResponseData /// /// Native reasoning tokens as reported by provider /// + /// + /// Number of web fetches performed + /// /// /// Number of audio inputs in the prompt /// @@ -404,6 +413,7 @@ public GenerationResponseData( int? nativeTokensCompletionImages, int? nativeTokensPrompt, int? nativeTokensReasoning, + int? numFetches, int? numInputAudioPrompt, int? numMediaCompletion, int? numMediaPrompt, @@ -441,6 +451,7 @@ public GenerationResponseData( this.NativeTokensCompletionImages = nativeTokensCompletionImages; this.NativeTokensPrompt = nativeTokensPrompt; this.NativeTokensReasoning = nativeTokensReasoning; + this.NumFetches = numFetches; this.NumInputAudioPrompt = numInputAudioPrompt; this.NumMediaCompletion = numMediaCompletion; this.NumMediaPrompt = numMediaPrompt; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestToolsItems.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestToolsItems.g.cs index 1d217f88..b9719b0c 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestToolsItems.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestToolsItems.g.cs @@ -145,6 +145,23 @@ namespace OpenRouter #endif public bool IsChatSearchModelsServerTool => ChatSearchModelsServerTool != null; + /// + /// OpenRouter built-in server tool: fetches full content from a URL (web page or PDF) + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.WebFetchServerTool? WebFetchServerTool { get; init; } +#else + public global::OpenRouter.WebFetchServerTool? WebFetchServerTool { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(WebFetchServerTool))] +#endif + public bool IsWebFetchServerTool => WebFetchServerTool != null; + /// /// OpenRouter built-in server tool: searches the web for current information /// @@ -305,6 +322,24 @@ public MessagesRequestToolsItems(global::OpenRouter.ChatSearchModelsServerTool? ChatSearchModelsServerTool = value; } + /// + /// + /// + public static implicit operator MessagesRequestToolsItems(global::OpenRouter.WebFetchServerTool value) => new MessagesRequestToolsItems((global::OpenRouter.WebFetchServerTool?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.WebFetchServerTool?(MessagesRequestToolsItems @this) => @this.WebFetchServerTool; + + /// + /// + /// + public MessagesRequestToolsItems(global::OpenRouter.WebFetchServerTool? value) + { + WebFetchServerTool = value; + } + /// /// /// @@ -335,6 +370,7 @@ public MessagesRequestToolsItems( global::OpenRouter.DatetimeServerTool? datetimeServerTool, global::OpenRouter.ImageGenerationServerToolOpenRouter? imageGenerationServerToolOpenRouter, global::OpenRouter.ChatSearchModelsServerTool? chatSearchModelsServerTool, + global::OpenRouter.WebFetchServerTool? webFetchServerTool, global::OpenRouter.OpenRouterWebSearchServerTool? openRouterWebSearchServerTool ) { @@ -346,6 +382,7 @@ public MessagesRequestToolsItems( DatetimeServerTool = datetimeServerTool; ImageGenerationServerToolOpenRouter = imageGenerationServerToolOpenRouter; ChatSearchModelsServerTool = chatSearchModelsServerTool; + WebFetchServerTool = webFetchServerTool; OpenRouterWebSearchServerTool = openRouterWebSearchServerTool; } @@ -354,6 +391,7 @@ public MessagesRequestToolsItems( /// public object? Object => OpenRouterWebSearchServerTool as object ?? + WebFetchServerTool as object ?? ChatSearchModelsServerTool as object ?? ImageGenerationServerToolOpenRouter as object ?? DatetimeServerTool as object ?? @@ -376,6 +414,7 @@ MessagesRequestToolsItems0 as object DatetimeServerTool?.ToString() ?? ImageGenerationServerToolOpenRouter?.ToString() ?? ChatSearchModelsServerTool?.ToString() ?? + WebFetchServerTool?.ToString() ?? OpenRouterWebSearchServerTool?.ToString() ; @@ -384,7 +423,7 @@ MessagesRequestToolsItems0 as object /// public bool Validate() { - return IsMessagesRequestToolsItems0 && !IsMessagesRequestToolsItems1 && !IsMessagesRequestToolsItems2 && !IsMessagesRequestToolsItems3 && !IsMessagesRequestToolsItems4 && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsOpenRouterWebSearchServerTool || !IsMessagesRequestToolsItems0 && IsMessagesRequestToolsItems1 && !IsMessagesRequestToolsItems2 && !IsMessagesRequestToolsItems3 && !IsMessagesRequestToolsItems4 && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsOpenRouterWebSearchServerTool || !IsMessagesRequestToolsItems0 && !IsMessagesRequestToolsItems1 && IsMessagesRequestToolsItems2 && !IsMessagesRequestToolsItems3 && !IsMessagesRequestToolsItems4 && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsOpenRouterWebSearchServerTool || !IsMessagesRequestToolsItems0 && !IsMessagesRequestToolsItems1 && !IsMessagesRequestToolsItems2 && IsMessagesRequestToolsItems3 && !IsMessagesRequestToolsItems4 && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsOpenRouterWebSearchServerTool || !IsMessagesRequestToolsItems0 && !IsMessagesRequestToolsItems1 && !IsMessagesRequestToolsItems2 && !IsMessagesRequestToolsItems3 && IsMessagesRequestToolsItems4 && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsOpenRouterWebSearchServerTool || !IsMessagesRequestToolsItems0 && !IsMessagesRequestToolsItems1 && !IsMessagesRequestToolsItems2 && !IsMessagesRequestToolsItems3 && !IsMessagesRequestToolsItems4 && IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsOpenRouterWebSearchServerTool || !IsMessagesRequestToolsItems0 && !IsMessagesRequestToolsItems1 && !IsMessagesRequestToolsItems2 && !IsMessagesRequestToolsItems3 && !IsMessagesRequestToolsItems4 && !IsDatetimeServerTool && IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsOpenRouterWebSearchServerTool || !IsMessagesRequestToolsItems0 && !IsMessagesRequestToolsItems1 && !IsMessagesRequestToolsItems2 && !IsMessagesRequestToolsItems3 && !IsMessagesRequestToolsItems4 && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && IsChatSearchModelsServerTool && !IsOpenRouterWebSearchServerTool || !IsMessagesRequestToolsItems0 && !IsMessagesRequestToolsItems1 && !IsMessagesRequestToolsItems2 && !IsMessagesRequestToolsItems3 && !IsMessagesRequestToolsItems4 && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && IsOpenRouterWebSearchServerTool; + return IsMessagesRequestToolsItems0 && !IsMessagesRequestToolsItems1 && !IsMessagesRequestToolsItems2 && !IsMessagesRequestToolsItems3 && !IsMessagesRequestToolsItems4 && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebFetchServerTool && !IsOpenRouterWebSearchServerTool || !IsMessagesRequestToolsItems0 && IsMessagesRequestToolsItems1 && !IsMessagesRequestToolsItems2 && !IsMessagesRequestToolsItems3 && !IsMessagesRequestToolsItems4 && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebFetchServerTool && !IsOpenRouterWebSearchServerTool || !IsMessagesRequestToolsItems0 && !IsMessagesRequestToolsItems1 && IsMessagesRequestToolsItems2 && !IsMessagesRequestToolsItems3 && !IsMessagesRequestToolsItems4 && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebFetchServerTool && !IsOpenRouterWebSearchServerTool || !IsMessagesRequestToolsItems0 && !IsMessagesRequestToolsItems1 && !IsMessagesRequestToolsItems2 && IsMessagesRequestToolsItems3 && !IsMessagesRequestToolsItems4 && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebFetchServerTool && !IsOpenRouterWebSearchServerTool || !IsMessagesRequestToolsItems0 && !IsMessagesRequestToolsItems1 && !IsMessagesRequestToolsItems2 && !IsMessagesRequestToolsItems3 && IsMessagesRequestToolsItems4 && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebFetchServerTool && !IsOpenRouterWebSearchServerTool || !IsMessagesRequestToolsItems0 && !IsMessagesRequestToolsItems1 && !IsMessagesRequestToolsItems2 && !IsMessagesRequestToolsItems3 && !IsMessagesRequestToolsItems4 && IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebFetchServerTool && !IsOpenRouterWebSearchServerTool || !IsMessagesRequestToolsItems0 && !IsMessagesRequestToolsItems1 && !IsMessagesRequestToolsItems2 && !IsMessagesRequestToolsItems3 && !IsMessagesRequestToolsItems4 && !IsDatetimeServerTool && IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebFetchServerTool && !IsOpenRouterWebSearchServerTool || !IsMessagesRequestToolsItems0 && !IsMessagesRequestToolsItems1 && !IsMessagesRequestToolsItems2 && !IsMessagesRequestToolsItems3 && !IsMessagesRequestToolsItems4 && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && IsChatSearchModelsServerTool && !IsWebFetchServerTool && !IsOpenRouterWebSearchServerTool || !IsMessagesRequestToolsItems0 && !IsMessagesRequestToolsItems1 && !IsMessagesRequestToolsItems2 && !IsMessagesRequestToolsItems3 && !IsMessagesRequestToolsItems4 && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && IsWebFetchServerTool && !IsOpenRouterWebSearchServerTool || !IsMessagesRequestToolsItems0 && !IsMessagesRequestToolsItems1 && !IsMessagesRequestToolsItems2 && !IsMessagesRequestToolsItems3 && !IsMessagesRequestToolsItems4 && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebFetchServerTool && IsOpenRouterWebSearchServerTool; } /// @@ -399,6 +438,7 @@ public bool Validate() global::System.Func? datetimeServerTool = null, global::System.Func? imageGenerationServerToolOpenRouter = null, global::System.Func? chatSearchModelsServerTool = null, + global::System.Func? webFetchServerTool = null, global::System.Func? openRouterWebSearchServerTool = null, bool validate = true) { @@ -439,6 +479,10 @@ public bool Validate() { return chatSearchModelsServerTool(ChatSearchModelsServerTool!); } + else if (IsWebFetchServerTool && webFetchServerTool != null) + { + return webFetchServerTool(WebFetchServerTool!); + } else if (IsOpenRouterWebSearchServerTool && openRouterWebSearchServerTool != null) { return openRouterWebSearchServerTool(OpenRouterWebSearchServerTool!); @@ -459,6 +503,7 @@ public void Match( global::System.Action? datetimeServerTool = null, global::System.Action? imageGenerationServerToolOpenRouter = null, global::System.Action? chatSearchModelsServerTool = null, + global::System.Action? webFetchServerTool = null, global::System.Action? openRouterWebSearchServerTool = null, bool validate = true) { @@ -499,6 +544,10 @@ public void Match( { chatSearchModelsServerTool?.Invoke(ChatSearchModelsServerTool!); } + else if (IsWebFetchServerTool) + { + webFetchServerTool?.Invoke(WebFetchServerTool!); + } else if (IsOpenRouterWebSearchServerTool) { openRouterWebSearchServerTool?.Invoke(OpenRouterWebSearchServerTool!); @@ -528,6 +577,8 @@ public override int GetHashCode() typeof(global::OpenRouter.ImageGenerationServerToolOpenRouter), ChatSearchModelsServerTool, typeof(global::OpenRouter.ChatSearchModelsServerTool), + WebFetchServerTool, + typeof(global::OpenRouter.WebFetchServerTool), OpenRouterWebSearchServerTool, typeof(global::OpenRouter.OpenRouterWebSearchServerTool), }; @@ -554,6 +605,7 @@ public bool Equals(MessagesRequestToolsItems other) global::System.Collections.Generic.EqualityComparer.Default.Equals(DatetimeServerTool, other.DatetimeServerTool) && global::System.Collections.Generic.EqualityComparer.Default.Equals(ImageGenerationServerToolOpenRouter, other.ImageGenerationServerToolOpenRouter) && global::System.Collections.Generic.EqualityComparer.Default.Equals(ChatSearchModelsServerTool, other.ChatSearchModelsServerTool) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(WebFetchServerTool, other.WebFetchServerTool) && global::System.Collections.Generic.EqualityComparer.Default.Equals(OpenRouterWebSearchServerTool, other.OpenRouterWebSearchServerTool) ; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestToolsItems.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestToolsItems.g.cs index 28ffb7e5..9d78c39f 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestToolsItems.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestToolsItems.g.cs @@ -298,6 +298,23 @@ namespace OpenRouter #endif public bool IsChatSearchModelsServerTool => ChatSearchModelsServerTool != null; + /// + /// OpenRouter built-in server tool: fetches full content from a URL (web page or PDF) + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.WebFetchServerTool? WebFetchServerTool { get; init; } +#else + public global::OpenRouter.WebFetchServerTool? WebFetchServerTool { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(WebFetchServerTool))] +#endif + public bool IsWebFetchServerTool => WebFetchServerTool != null; + /// /// OpenRouter built-in server tool: searches the web for current information /// @@ -620,6 +637,24 @@ public ResponsesRequestToolsItems(global::OpenRouter.ChatSearchModelsServerTool? ChatSearchModelsServerTool = value; } + /// + /// + /// + public static implicit operator ResponsesRequestToolsItems(global::OpenRouter.WebFetchServerTool value) => new ResponsesRequestToolsItems((global::OpenRouter.WebFetchServerTool?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.WebFetchServerTool?(ResponsesRequestToolsItems @this) => @this.WebFetchServerTool; + + /// + /// + /// + public ResponsesRequestToolsItems(global::OpenRouter.WebFetchServerTool? value) + { + WebFetchServerTool = value; + } + /// /// /// @@ -659,6 +694,7 @@ public ResponsesRequestToolsItems( global::OpenRouter.DatetimeServerTool? datetimeServerTool, global::OpenRouter.ImageGenerationServerToolOpenRouter? imageGenerationServerToolOpenRouter, global::OpenRouter.ChatSearchModelsServerTool? chatSearchModelsServerTool, + global::OpenRouter.WebFetchServerTool? webFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter? webSearchServerToolOpenRouter ) { @@ -679,6 +715,7 @@ public ResponsesRequestToolsItems( DatetimeServerTool = datetimeServerTool; ImageGenerationServerToolOpenRouter = imageGenerationServerToolOpenRouter; ChatSearchModelsServerTool = chatSearchModelsServerTool; + WebFetchServerTool = webFetchServerTool; WebSearchServerToolOpenRouter = webSearchServerToolOpenRouter; } @@ -687,6 +724,7 @@ public ResponsesRequestToolsItems( /// public object? Object => WebSearchServerToolOpenRouter as object ?? + WebFetchServerTool as object ?? ChatSearchModelsServerTool as object ?? ImageGenerationServerToolOpenRouter as object ?? DatetimeServerTool as object ?? @@ -727,6 +765,7 @@ ResponsesRequestToolsItems0 as object DatetimeServerTool?.ToString() ?? ImageGenerationServerToolOpenRouter?.ToString() ?? ChatSearchModelsServerTool?.ToString() ?? + WebFetchServerTool?.ToString() ?? WebSearchServerToolOpenRouter?.ToString() ; @@ -735,7 +774,7 @@ ResponsesRequestToolsItems0 as object /// public bool Validate() { - return IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && IsCustomTool && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && IsChatSearchModelsServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && IsWebSearchServerToolOpenRouter; + return IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebFetchServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebFetchServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebFetchServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebFetchServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebFetchServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebFetchServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebFetchServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebFetchServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebFetchServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebFetchServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebFetchServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebFetchServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebFetchServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && IsCustomTool && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebFetchServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebFetchServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebFetchServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && IsChatSearchModelsServerTool && !IsWebFetchServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && IsWebFetchServerTool && !IsWebSearchServerToolOpenRouter || !IsResponsesRequestToolsItems0 && !IsPreviewWebSearchServerTool && !IsPreview20250311WebSearchServerTool && !IsLegacyWebSearchServerTool && !IsWebSearchServerTool && !IsFileSearchServerTool && !IsComputerUseServerTool && !IsCodeInterpreterServerTool && !IsMcpServerTool && !IsImageGenerationServerTool && !IsCodexLocalShellTool && !IsShellServerTool && !IsApplyPatchServerTool && !IsCustomTool && !IsDatetimeServerTool && !IsImageGenerationServerToolOpenRouter && !IsChatSearchModelsServerTool && !IsWebFetchServerTool && IsWebSearchServerToolOpenRouter; } /// @@ -759,6 +798,7 @@ public bool Validate() global::System.Func? datetimeServerTool = null, global::System.Func? imageGenerationServerToolOpenRouter = null, global::System.Func? chatSearchModelsServerTool = null, + global::System.Func? webFetchServerTool = null, global::System.Func? webSearchServerToolOpenRouter = null, bool validate = true) { @@ -835,6 +875,10 @@ public bool Validate() { return chatSearchModelsServerTool(ChatSearchModelsServerTool!); } + else if (IsWebFetchServerTool && webFetchServerTool != null) + { + return webFetchServerTool(WebFetchServerTool!); + } else if (IsWebSearchServerToolOpenRouter && webSearchServerToolOpenRouter != null) { return webSearchServerToolOpenRouter(WebSearchServerToolOpenRouter!); @@ -864,6 +908,7 @@ public void Match( global::System.Action? datetimeServerTool = null, global::System.Action? imageGenerationServerToolOpenRouter = null, global::System.Action? chatSearchModelsServerTool = null, + global::System.Action? webFetchServerTool = null, global::System.Action? webSearchServerToolOpenRouter = null, bool validate = true) { @@ -940,6 +985,10 @@ public void Match( { chatSearchModelsServerTool?.Invoke(ChatSearchModelsServerTool!); } + else if (IsWebFetchServerTool) + { + webFetchServerTool?.Invoke(WebFetchServerTool!); + } else if (IsWebSearchServerToolOpenRouter) { webSearchServerToolOpenRouter?.Invoke(WebSearchServerToolOpenRouter!); @@ -987,6 +1036,8 @@ public override int GetHashCode() typeof(global::OpenRouter.ImageGenerationServerToolOpenRouter), ChatSearchModelsServerTool, typeof(global::OpenRouter.ChatSearchModelsServerTool), + WebFetchServerTool, + typeof(global::OpenRouter.WebFetchServerTool), WebSearchServerToolOpenRouter, typeof(global::OpenRouter.WebSearchServerToolOpenRouter), }; @@ -1022,6 +1073,7 @@ public bool Equals(ResponsesRequestToolsItems other) global::System.Collections.Generic.EqualityComparer.Default.Equals(DatetimeServerTool, other.DatetimeServerTool) && global::System.Collections.Generic.EqualityComparer.Default.Equals(ImageGenerationServerToolOpenRouter, other.ImageGenerationServerToolOpenRouter) && global::System.Collections.Generic.EqualityComparer.Default.Equals(ChatSearchModelsServerTool, other.ChatSearchModelsServerTool) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(WebFetchServerTool, other.WebFetchServerTool) && global::System.Collections.Generic.EqualityComparer.Default.Equals(WebSearchServerToolOpenRouter, other.WebSearchServerToolOpenRouter) ; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.WebFetchEngineEnum.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.WebFetchEngineEnum.g.cs new file mode 100644 index 00000000..5d662191 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.WebFetchEngineEnum.g.cs @@ -0,0 +1,69 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Which fetch engine to use. "auto" (default) uses native if the provider supports it, otherwise Exa. "native" forces the provider's built-in fetch. "exa" uses Exa Contents API (supports BYOK). "openrouter" uses direct HTTP fetch. "firecrawl" uses Firecrawl scrape (requires BYOK). + /// + public enum WebFetchEngineEnum + { + /// + /// + /// + Auto, + /// + /// + /// + Exa, + /// + /// + /// + Firecrawl, + /// + /// + /// + Native, + /// + /// + /// + Openrouter, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebFetchEngineEnumExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebFetchEngineEnum value) + { + return value switch + { + WebFetchEngineEnum.Auto => "auto", + WebFetchEngineEnum.Exa => "exa", + WebFetchEngineEnum.Firecrawl => "firecrawl", + WebFetchEngineEnum.Native => "native", + WebFetchEngineEnum.Openrouter => "openrouter", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebFetchEngineEnum? ToEnum(string value) + { + return value switch + { + "auto" => WebFetchEngineEnum.Auto, + "exa" => WebFetchEngineEnum.Exa, + "firecrawl" => WebFetchEngineEnum.Firecrawl, + "native" => WebFetchEngineEnum.Native, + "openrouter" => WebFetchEngineEnum.Openrouter, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.WebFetchServerTool.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.WebFetchServerTool.Json.g.cs new file mode 100644 index 00000000..f7afac85 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.WebFetchServerTool.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class WebFetchServerTool + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.WebFetchServerTool? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.WebFetchServerTool), + jsonSerializerContext) as global::OpenRouter.WebFetchServerTool; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.WebFetchServerTool? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.WebFetchServerTool), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.WebFetchServerTool; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.WebFetchServerTool.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.WebFetchServerTool.g.cs new file mode 100644 index 00000000..c65d18d0 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.WebFetchServerTool.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// OpenRouter built-in server tool: fetches full content from a URL (web page or PDF) + /// + public sealed partial class WebFetchServerTool + { + /// + /// Configuration for the openrouter:web_fetch server tool + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parameters")] + public global::OpenRouter.WebFetchServerToolConfig? Parameters { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.WebFetchServerToolTypeJsonConverter))] + public global::OpenRouter.WebFetchServerToolType Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Configuration for the openrouter:web_fetch server tool + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public WebFetchServerTool( + global::OpenRouter.WebFetchServerToolConfig? parameters, + global::OpenRouter.WebFetchServerToolType type) + { + this.Parameters = parameters; + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public WebFetchServerTool() + { + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.WebFetchServerToolConfig.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.WebFetchServerToolConfig.Json.g.cs new file mode 100644 index 00000000..f1f18bd2 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.WebFetchServerToolConfig.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class WebFetchServerToolConfig + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.WebFetchServerToolConfig? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.WebFetchServerToolConfig), + jsonSerializerContext) as global::OpenRouter.WebFetchServerToolConfig; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.WebFetchServerToolConfig? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.WebFetchServerToolConfig), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.WebFetchServerToolConfig; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.WebFetchServerToolConfig.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.WebFetchServerToolConfig.g.cs new file mode 100644 index 00000000..7008433d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.WebFetchServerToolConfig.g.cs @@ -0,0 +1,90 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Configuration for the openrouter:web_fetch server tool + /// + public sealed partial class WebFetchServerToolConfig + { + /// + /// Only fetch from these domains. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("allowed_domains")] + public global::System.Collections.Generic.IList? AllowedDomains { get; set; } + + /// + /// Never fetch from these domains. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("blocked_domains")] + public global::System.Collections.Generic.IList? BlockedDomains { get; set; } + + /// + /// Which fetch engine to use. "auto" (default) uses native if the provider supports it, otherwise Exa. "native" forces the provider's built-in fetch. "exa" uses Exa Contents API (supports BYOK). "openrouter" uses direct HTTP fetch. "firecrawl" uses Firecrawl scrape (requires BYOK). + /// + [global::System.Text.Json.Serialization.JsonPropertyName("engine")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.WebFetchEngineEnumJsonConverter))] + public global::OpenRouter.WebFetchEngineEnum? Engine { get; set; } + + /// + /// Maximum content length in approximate tokens. Content exceeding this limit is truncated. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_content_tokens")] + public int? MaxContentTokens { get; set; } + + /// + /// Maximum number of web fetches per request. Once exceeded, the tool returns an error. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_uses")] + public int? MaxUses { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Only fetch from these domains. + /// + /// + /// Never fetch from these domains. + /// + /// + /// Which fetch engine to use. "auto" (default) uses native if the provider supports it, otherwise Exa. "native" forces the provider's built-in fetch. "exa" uses Exa Contents API (supports BYOK). "openrouter" uses direct HTTP fetch. "firecrawl" uses Firecrawl scrape (requires BYOK). + /// + /// + /// Maximum content length in approximate tokens. Content exceeding this limit is truncated. + /// + /// + /// Maximum number of web fetches per request. Once exceeded, the tool returns an error. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public WebFetchServerToolConfig( + global::System.Collections.Generic.IList? allowedDomains, + global::System.Collections.Generic.IList? blockedDomains, + global::OpenRouter.WebFetchEngineEnum? engine, + int? maxContentTokens, + int? maxUses) + { + this.AllowedDomains = allowedDomains; + this.BlockedDomains = blockedDomains; + this.Engine = engine; + this.MaxContentTokens = maxContentTokens; + this.MaxUses = maxUses; + } + + /// + /// Initializes a new instance of the class. + /// + public WebFetchServerToolConfig() + { + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.WebFetchServerToolType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.WebFetchServerToolType.g.cs new file mode 100644 index 00000000..e7b59fb4 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.WebFetchServerToolType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum WebFetchServerToolType + { + /// + /// + /// + Openrouter_webFetch, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebFetchServerToolTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebFetchServerToolType value) + { + return value switch + { + WebFetchServerToolType.Openrouter_webFetch => "openrouter:web_fetch", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebFetchServerToolType? ToEnum(string value) + { + return value switch + { + "openrouter:web_fetch" => WebFetchServerToolType.Openrouter_webFetch, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/openapi.yaml b/src/libs/OpenRouter/openapi.yaml index 659df4ba..cbd70778 100644 --- a/src/libs/OpenRouter/openapi.yaml +++ b/src/libs/OpenRouter/openapi.yaml @@ -8100,6 +8100,73 @@ "description": "OpenRouter built-in server tool: searches and filters AI models available on OpenRouter", "title": "ChatSearchModelsServerTool" }, + "WebFetchEngineEnum": { + "type": "string", + "enum": [ + "auto", + "native", + "openrouter", + "firecrawl", + "exa" + ], + "description": "Which fetch engine to use. \"auto\" (default) uses native if the provider supports it, otherwise Exa. \"native\" forces the provider's built-in fetch. \"exa\" uses Exa Contents API (supports BYOK). \"openrouter\" uses direct HTTP fetch. \"firecrawl\" uses Firecrawl scrape (requires BYOK).", + "title": "WebFetchEngineEnum" + }, + "WebFetchServerToolConfig": { + "type": "object", + "properties": { + "allowed_domains": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Only fetch from these domains." + }, + "blocked_domains": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Never fetch from these domains." + }, + "engine": { + "$ref": "#/components/schemas/WebFetchEngineEnum" + }, + "max_content_tokens": { + "type": "integer", + "description": "Maximum content length in approximate tokens. Content exceeding this limit is truncated." + }, + "max_uses": { + "type": "integer", + "description": "Maximum number of web fetches per request. Once exceeded, the tool returns an error." + } + }, + "description": "Configuration for the openrouter:web_fetch server tool", + "title": "WebFetchServerToolConfig" + }, + "WebFetchServerToolType": { + "type": "string", + "enum": [ + "openrouter:web_fetch" + ], + "title": "WebFetchServerToolType" + }, + "WebFetchServerTool": { + "type": "object", + "properties": { + "parameters": { + "$ref": "#/components/schemas/WebFetchServerToolConfig" + }, + "type": { + "$ref": "#/components/schemas/WebFetchServerToolType" + } + }, + "required": [ + "type" + ], + "description": "OpenRouter built-in server tool: fetches full content from a URL (web page or PDF)", + "title": "WebFetchServerTool" + }, "WebSearchServerToolOpenRouterParameters": { "type": "object", "properties": { @@ -8190,6 +8257,9 @@ { "$ref": "#/components/schemas/ChatSearchModelsServerTool" }, + { + "$ref": "#/components/schemas/WebFetchServerTool" + }, { "$ref": "#/components/schemas/WebSearchServerTool_OpenRouter" } @@ -13210,6 +13280,9 @@ { "$ref": "#/components/schemas/ChatSearchModelsServerTool" }, + { + "$ref": "#/components/schemas/WebFetchServerTool" + }, { "$ref": "#/components/schemas/OpenRouterWebSearchServerTool" }, @@ -15374,6 +15447,13 @@ ], "description": "Native reasoning tokens as reported by provider" }, + "num_fetches": { + "type": [ + "integer", + "null" + ], + "description": "Number of web fetches performed" + }, "num_input_audio_prompt": { "type": [ "integer", @@ -15526,6 +15606,7 @@ "native_tokens_completion_images", "native_tokens_prompt", "native_tokens_reasoning", + "num_fetches", "num_input_audio_prompt", "num_media_completion", "num_media_prompt", @@ -19510,6 +19591,9 @@ { "$ref": "#/components/schemas/ChatSearchModelsServerTool" }, + { + "$ref": "#/components/schemas/WebFetchServerTool" + }, { "$ref": "#/components/schemas/OpenRouterWebSearchServerTool" }