Table of Contents

Class PathParseTool

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

A built-in tool for parsing and inspecting file paths.

Extract directory, filename, extension, check validity, and query temp paths.

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

Examples

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

// Agent can now: parse paths, check if absolute, validate paths, get temp directory

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