Table of Contents

Class BuiltInToolDescriptor

Namespace
LMKit.Agents.Tools.BuiltIn
Assembly
LM-Kit.NET.dll

Describes a built-in tool exposed by BuiltInToolCatalog. Each descriptor captures the tool's identity and security metadata, enabling callers to inspect, filter, and apply permission policies without instantiating the tool itself.

public sealed class BuiltInToolDescriptor
Inheritance
BuiltInToolDescriptor
Inherited Members

Constructors

BuiltInToolDescriptor(string, string, string, ToolRiskLevel, ToolSideEffect, ToolApprovalMode, bool)

Initializes a new instance of the BuiltInToolDescriptor class.

Properties

Category

Gets the category this tool belongs to (for example, "io", "net", or a custom user-defined value).

DefaultApproval

Gets the default approval mode that governs whether user confirmation is required before the tool executes.

Description

Gets a short, human-readable description of what the tool does.

IsReadOnly

Gets a value indicating whether the tool performs only read operations and never mutates local or remote state.

Name

Gets the unique name of the tool (for example, "filesystem_read" or "http_get").

RiskLevel

Gets the risk level associated with invoking this tool.

SideEffect

Gets the kind of side effect produced by this tool (for example, None for pure computation or NetworkRead for outbound HTTP requests).

Share