EdgeGenAIToolParameter class

A single named parameter of an EdgeGenAITool.

Constructors

EdgeGenAIToolParameter({required String name, required String description, EdgeGenAIToolParameterType type = EdgeGenAIToolParameterType.string, EdgeGenAIToolSchema? schema, bool isRequired = true})

Properties

description String
What the parameter means, so the model knows what to pass.
final
hashCode int
The hash code for this object.
no setterinherited
isRequired bool
Whether the model must always provide this parameter.
final
name String
The parameter's name, as it appears in the arguments map.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schema EdgeGenAIToolSchema
The parameter's value schema.
final
type EdgeGenAIToolParameterType
The parameter's primitive value type. Ignored when schema is provided, which supersedes it with a full value schema (enums, ranges, arrays, nested objects).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited