Class IniConvertTool
A built-in tool for converting between INI and JSON formats.
Convert INI content to JSON or generate INI content from a JSON string.
public sealed class IniConvertTool : IBuiltInTool, ITool, IToolMetadata
- Inheritance
-
IniConvertTool
- Implements
- Inherited Members
Examples
var tool = new IniConvertTool();
registry.Register(tool);
// Agent can now: convert INI to JSON, convert JSON to INI
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.