API Reference
ToolPackIdentityCatalog
Pack identity catalog used to normalize pack ids, aliases, categories, and display labels.
Inheritance
- Object
- ToolPackIdentityCatalog
Methods
public static IReadOnlyList<String> GetNormalizedPackAliases(String? packId) #IReadOnlyList<String>Returns normalized compact aliases used for pack matching.
Parameters
- packId System.String?
public static IReadOnlyList<String> GetPackSearchTokens(String? packId) #IReadOnlyList<String>Returns pack-oriented search tokens used by planner and routing prompts.
Parameters
- packId System.String?
public static Boolean IsKnownCompoundPackRoutingCompact(String? compactToken) #BooleanIndicates whether a compact token maps to a known compound pack identifier.
Parameters
- compactToken System.String?
public static Boolean IsKnownPackIdentityToken(String? value) #BooleanIndicates whether the value matches a known pack identity token or alias.
Parameters
- value System.String?
public static String NormalizePackCompactId(String? value) #StringNormalizes a token into a compact alphanumeric pack/engine alias.
Parameters
- value System.String?
public static String NormalizePackId(String? value) #StringNormalizes a pack id or engine alias into its canonical pack id.
Parameters
- value System.String?
public static String ResolveDisplayName(String? descriptorId, String? fallbackName) #StringResolves the preferred display name for a pack, falling back to a human-friendly label derived from the canonical pack id.
Parameters
- descriptorId System.String?
- fallbackName System.String?
public static Boolean TryGetCategory(String? packId, out String category) #BooleanReturns the category associated with the pack identity when known.
Parameters
- packId System.String?
- category System.String
public static Boolean TryGetDisplayName(String? packId, out String displayName) #BooleanReturns the display label associated with the pack identity when known.
Parameters
- packId System.String?
- displayName System.String
public static Boolean TryResolveCategoryFromRuntimeNamespace(String? runtimeNamespace, out String category) #BooleanResolves a category from a runtime namespace marker when it matches a known pack identity.
Parameters
- runtimeNamespace System.String?
- category System.String
public static Boolean TryResolveCategoryFromToolName(String? toolName, out String category) #BooleanResolves a category from a tool-name prefix when it matches a known pack identity.
Parameters
- toolName System.String?
- category System.String
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?