Table of Contents

Class PerformanceTool

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

A built-in tool for monitoring system performance.

Provides CPU, memory, GC statistics, and process metrics.

public sealed class PerformanceTool : ITool
Inheritance
PerformanceTool
Implements
Inherited Members

Examples

var tool = new PerformanceTool();
registry.Register(tool);

// Agent can now: get CPU usage, memory stats, GC info

Properties

Description

Gets a concise description of what the tool does.

InputSchema

Gets the JSON Schema defining the expected input arguments.

Name

Gets the stable, unique identifier for this tool.

Methods

InvokeAsync(string, CancellationToken)

Executes the tool with the specified JSON arguments.