# ToolPackIdentityCatalog

Pack identity catalog used to normalize pack ids, aliases, categories, and display labels.

Class 

`IntelligenceX.Tools`

**Namespace**

`IntelligenceX.Tools`

**Assembly**

`IntelligenceX`

**Source**

[ToolPackIdentityCatalog.cs:137](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Tools/ToolPackIdentityCatalog.cs#L137)

**Modifiers**

static

Pack identity catalog used to normalize pack ids, aliases, categories, and display labels.

## Inheritance

- object
- ToolPackIdentityCatalog

Filter members 

Show inherited

## Methods

`public static IReadOnlyList<string> GetNormalizedPackAliases(string? packId)` [#](#method-getnormalizedpackaliases-string)

[ToolPackIdentityCatalog.cs:172](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Tools/ToolPackIdentityCatalog.cs#L172)

Returns normalized compact aliases used for pack matching.

Parameters

**packId string? required**

Returns

`IReadOnlyList<string>`

`public static IReadOnlyList<string> GetPackSearchTokens(string? packId)` [#](#method-getpacksearchtokens-string)

[ToolPackIdentityCatalog.cs:201](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Tools/ToolPackIdentityCatalog.cs#L201)

Returns pack-oriented search tokens used by planner and routing prompts.

Parameters

**packId string? required**

Returns

`IReadOnlyList<string>`

`public static bool IsKnownCompoundPackRoutingCompact(string? compactToken)` [#](#method-isknowncompoundpackroutingcompact-string)

[ToolPackIdentityCatalog.cs:242](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Tools/ToolPackIdentityCatalog.cs#L242)

Indicates whether a compact token maps to a known compound pack identifier.

Parameters

**compactToken string? required**

Returns

`bool`

`public static bool IsKnownPackIdentityToken(string? value)` [#](#method-isknownpackidentitytoken-string)

[ToolPackIdentityCatalog.cs:340](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Tools/ToolPackIdentityCatalog.cs#L340)

Indicates whether the value matches a known pack identity token or alias.

Parameters

**value string? required**

Returns

`bool`

`public static string NormalizePackCompactId(string? value)` [#](#method-normalizepackcompactid-string)

[ToolPackIdentityCatalog.cs:333](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Tools/ToolPackIdentityCatalog.cs#L333)

Normalizes a token into a compact alphanumeric pack/engine alias.

Parameters

**value string? required**

Returns

`string`

`public static string NormalizePackId(string? value)` [#](#method-normalizepackid-string)

[ToolPackIdentityCatalog.cs:137](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Tools/ToolPackIdentityCatalog.cs#L137)

Normalizes a pack id or engine alias into its canonical pack id.

Parameters

**value string? required**

Returns

`string`

`public static string ResolveDisplayName(string? descriptorId, string? fallbackName)` [#](#method-resolvedisplayname-string-string)

[ToolPackIdentityCatalog.cs:317](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Tools/ToolPackIdentityCatalog.cs#L317)

Resolves the preferred display name for a pack, falling back to a human-friendly label derived from the canonical pack id.

Parameters

**descriptorId string? required**

**fallbackName string? required**

Returns

`string`

`public static bool TryGetCategory(string? packId, out string category)` [#](#method-trygetcategory-string-string)

[ToolPackIdentityCatalog.cs:156](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Tools/ToolPackIdentityCatalog.cs#L156)

Returns the category associated with the pack identity when known.

Parameters

**packId string? required**

**category string required**

Returns

`bool`

`public static bool TryGetDisplayName(string? packId, out string displayName)` [#](#method-trygetdisplayname-string-string)

[ToolPackIdentityCatalog.cs:267](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Tools/ToolPackIdentityCatalog.cs#L267)

Returns the display label associated with the pack identity when known.

Parameters

**packId string? required**

**displayName string required**

Returns

`bool`

`public static bool TryResolveCategoryFromRuntimeNamespace(string? runtimeNamespace, out string category)` [#](#method-tryresolvecategoryfromruntimenamespace-string-string)

[ToolPackIdentityCatalog.cs:286](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Tools/ToolPackIdentityCatalog.cs#L286)

Resolves a category from a runtime namespace marker when it matches a known pack identity.

Parameters

**runtimeNamespace string? required**

**category string required**

Returns

`bool`

`public static bool TryResolveCategoryFromToolName(string? toolName, out string category)` [#](#method-tryresolvecategoryfromtoolname-string-string)

[ToolPackIdentityCatalog.cs:251](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Tools/ToolPackIdentityCatalog.cs#L251)

Resolves a category from a tool-name prefix when it matches a known pack identity.

Parameters

**toolName string? required**

**category string required**

Returns

`bool`

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

<!-- PowerForge markdown artifact sha256:AD66879CED1AF5C992E7FA261427088E30DAE1523A2D1E7363C1D20976E6E492 -->
