@using AIStudio.Tools.ToolCallingSystem @inherits SettingsDialogBase @(this.toolDefinition?.DisplayName ?? T("Tool Settings")) @if (this.toolDefinition is null) { @T("The selected tool could not be loaded.") } else { @foreach (var property in this.toolDefinition.SettingsSchema.Properties) { var fieldName = property.Key; var field = property.Value; if (field.EnumValues.Count > 0) { @foreach (var option in field.EnumValues) { @option } } else { } } } @T("Cancel") @T("Save")