Table of Contents

Class JsonTool

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

A built-in tool for JSON manipulation operations.

Supports parsing, querying, formatting, and validating JSON.

public sealed class JsonTool : ITool
Inheritance
JsonTool
Implements
Inherited Members

Examples

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

// Agent can now: parse JSON, extract values, format/minify JSON

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.