Class PathBuildTool
A built-in tool for building and transforming file paths.
Join, normalize, combine paths and change file extensions.
public sealed class PathBuildTool : IBuiltInTool, ITool, IToolMetadata
- Inheritance
-
PathBuildTool
- Implements
- Inherited Members
Examples
var tool = new PathBuildTool();
registry.Register(tool);
// Agent can now: join paths, normalize paths, combine base/relative, change extension
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.