Mcp\Tools\ListResourcesTool.cs (20)
221Name = GetBoundedText(snapshot.Name),
222DisplayName = GetBoundedText(snapshot.DisplayName),
223ResourceType = GetBoundedText(snapshot.ResourceType),
224ResourceTypeDisplayName = GetBoundedText(snapshot.ResourceTypeDisplayName),
227StateStyle = GetBoundedText(snapshot.StateStyle),
230HealthStatus = GetBoundedText(snapshot.HealthStatus),
235Name = GetBoundedText(url.Name),
236DisplayName = GetBoundedText(url.DisplayProperties?.DisplayName),
237Url = GetBoundedText(McpToolHelpers.SanitizeResourceUrl(url.Url)),
358Description = includeCommandDetails ? GetBoundedText(command.Description) : null,
363InputType = GetBoundedText(input.InputType)!,
364Description = GetBoundedText(input.Description),
367? input.Options?.ToDictionary(option => option.Key, option => GetBoundedText(option.Value))
478var boundedName = GetBoundedText(identity.WaitingForName)!;
511var boundedType = GetBoundedText(relationship.Type);
512var boundedTarget = GetBoundedText(target);
539return GetBoundedText(McpToolHelpers.SanitizeUrl(dashboardUrl));
555return projectPath is null ? null : GetBoundedText(GetCrossPlatformFileName(projectPath));
561return executablePath is null ? null : GetBoundedText(GetCrossPlatformFileName(executablePath));
566return GetBoundedText(GetStringProperty(snapshot, KnownProperties.Container.Image));