Class ToolInfo
Metadata about a built-in tool including its security profile.
public sealed class ToolInfo
- Inheritance
-
ToolInfo
- Inherited Members
Examples
Surfacing security metadata for governance review:
using LMKit.Agents.Tools.BuiltIn;
foreach (ToolInfo info in BuiltInToolCatalog.GetToolInfos())
{
Console.WriteLine($"{info.Name,-30} {info.Category,-12} risk={info.RiskLevel} side={info.SideEffect}");
}
Properties
- Category
Gets the category this tool belongs to (e.g., "data", "io", "net").
- DefaultApproval
Gets the default approval mode for this tool.
- Description
Gets the tool description.
- HasIOCapabilities
Gets whether the tool has I/O capabilities (file, network, process).
- IsIdempotent
Gets whether the tool is idempotent (safe to retry).
- IsReadOnly
Gets whether the tool performs only read operations.
- Name
Gets the tool name.
- RiskLevel
Gets the inherent risk level of this tool.
- SideEffect
Gets the type of side effect this tool may produce.