Table of Contents

Enum ToolRiskLevel

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

Indicates the inherent risk level of a tool invocation.

public enum ToolRiskLevel

Fields

Low = 0

No risk. The tool performs pure computation with no external effects. Examples: calculator, text formatting, JSON parsing.

Medium = 1

Moderate risk. The tool reads external state or performs controlled operations. Examples: reading files, HTTP GET, listing processes.

High = 2

High risk. The tool modifies local or remote state. Examples: writing files, executing commands, HTTP POST.

Critical = 3

Critical risk. The tool performs irreversible or highly privileged operations. Examples: deleting files, killing processes, sending emails, executing shell commands.

Remarks

Risk levels provide a quick classification for security policies and UI displays. A tool's risk level reflects the worst-case impact of a single invocation.