Interface IBuiltInTool
Represents a tool that ships with LM-Kit and carries standardized metadata.
public interface IBuiltInTool : ITool, IToolMetadata
- Inherited Members
Examples
Filtering the built-in tool catalog by metadata:
using LMKit.Agents.Tools;
using LMKit.Agents.Tools.BuiltIn;
foreach (IBuiltInTool tool in BuiltInTools.GetAll().OfType<IBuiltInTool>())
{
if (tool.Category == "io" && tool.RiskLevel >= ToolRiskLevel.High)
Console.WriteLine($" {tool.Name}: {tool.SideEffect}");
}
Remarks
All built-in tools implement this interface, which combines ITool for execution and IToolMetadata for security profiling, permission policies, and runtime introspection.