Mcp\Tools\ListResourcesTool.cs (19)
204Name = GetBoundedText(snapshot.Name),
205DisplayName = GetBoundedText(snapshot.DisplayName),
206ResourceType = GetBoundedText(snapshot.ResourceType),
209StateStyle = GetBoundedText(snapshot.StateStyle),
212HealthStatus = GetBoundedText(snapshot.HealthStatus),
216Name = GetBoundedText(url.Name),
217DisplayName = GetBoundedText(url.DisplayProperties?.DisplayName),
218Url = GetBoundedText(McpToolHelpers.SanitizeResourceUrl(url.Url)),
316Description = GetBoundedText(command.Description),
320InputType = GetBoundedText(input.InputType)!,
321Description = GetBoundedText(input.Description),
324? input.Options?.ToDictionary(option => option.Key, option => GetBoundedText(option.Value))
435var boundedName = GetBoundedText(identity.WaitingForName)!;
468var boundedType = GetBoundedText(relationship.Type);
469var boundedTarget = GetBoundedText(target);
496return GetBoundedText(McpToolHelpers.SanitizeUrl(dashboardUrl));
512return projectPath is null ? null : GetBoundedText(GetCrossPlatformFileName(projectPath));
518return executablePath is null ? null : GetBoundedText(GetCrossPlatformFileName(executablePath));
523return GetBoundedText(GetStringProperty(snapshot, KnownProperties.Container.Image));