Table of Contents

Class YamlParseTool

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

A built-in tool for parsing and validating YAML strings.

Parses YAML content into a structured object, or validates YAML syntax and reports any formatting issues such as tabs or trailing whitespace.

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

Examples

var parseTool = new YamlParseTool();
var result = await parseTool.InvokeAsync(@"{""yaml"":""name: Alice\nage: 30""}");

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