Table of Contents

Class CsvConvertTool

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

A built-in tool for converting between CSV and JSON formats.

Supports converting CSV to JSON, JSON arrays to CSV, and generating CSV from structured header and row data.

public sealed class CsvConvertTool : IBuiltInTool, ITool, IToolMetadata
Inheritance
CsvConvertTool
Implements
Inherited Members

Examples

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

// Agent can now: convert CSV to/from JSON, generate CSV from structured data

Constructors

CsvConvertTool()

Initializes a new instance with default settings.

CsvConvertTool(CsvToolOptions)

Initializes a new instance with custom options.

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.

Share