Class ToolCatalogGroup
A group of related tools under a common domain (e.g., "filesystem", "http", "database").
public sealed class ToolCatalogGroup
- Inheritance
-
ToolCatalogGroup
- Inherited Members
Examples
Listing every "http" tool:
using LMKit.Agents.Tools.BuiltIn;
ToolCatalogGroup http = BuiltInToolCatalog.GetGroups()
.First(g => g.Domain == "http");
foreach (var t in http.Tools)
Console.WriteLine($"- {t.Name}: {t.DisplayName}");
Constructors
- ToolCatalogGroup(string, string, string, string, IList<ToolCatalogEntry>)
Initializes a new instance.
Properties
- Category
Gets the category this domain belongs to (e.g., "io", "net", "data", "document").
- Description
Gets a short description of the domain.
- DisplayName
Gets the human-readable display name (e.g., "File System", "HTTP Requests", "Database").
- Domain
Gets the domain identifier (e.g., "filesystem", "http", "database").
- Tools
Gets the tools in this group.