Table of Contents

Class XmlTransformTool

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

A built-in tool for transforming XML using an XSLT stylesheet.

Applies an XSLT stylesheet to an XML document and returns the transformed output. XSLT script blocks and the document() function are disabled for security.

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

Examples

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

// Agent can now: transform XML with XSLT stylesheets

Constructors

XmlTransformTool()

Initializes a new instance with default settings.

XmlTransformTool(XmlToolOptions)

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