Class CsvQueryTool
A built-in tool for querying, filtering, and sorting CSV data.
Supports filtering rows by column values with comparison operators, sorting by column, and querying rows that match specific criteria.
public sealed class CsvQueryTool : IBuiltInTool, ITool, IToolMetadata
- Inheritance
-
CsvQueryTool
- Implements
- Inherited Members
Examples
var tool = new CsvQueryTool();
registry.Register(tool);
// Agent can now: filter, sort, and query CSV rows by column
Constructors
- CsvQueryTool()
Initializes a new instance with default settings.
- CsvQueryTool(CsvToolOptions)
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.