GroqToolParameter constructor
GroqToolParameter({})
Creates a new parameter definition for a Groq tool.
parameterName: The name of the parameter. parameterDescription: A description of what the parameter does. parameterType: The type of data this parameter accepts. isRequired: Whether this parameter must be provided. allowedValues: If provided, restricts the parameter to these values.
Implementation
GroqToolParameter({
required this.parameterName,
required this.parameterDescription,
required this.parameterType,
required this.isRequired,
this.allowedValues = const [],
});