Class StatsDescriptiveTool
Computes descriptive statistics for a numeric data set.
Supports summary, mean, median, mode, variance, standard deviation, percentile, and quartiles.
public sealed class StatsDescriptiveTool : IBuiltInTool, ITool, IToolMetadata
- Inheritance
-
StatsDescriptiveTool
- Implements
- Inherited Members
Examples
var tool = new StatsDescriptiveTool();
registry.Register(tool);
// Agent can now: calculate summary statistics, mean, median, mode, percentiles
Constructors
- StatsDescriptiveTool()
Initializes a new instance with default settings.
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.