AgentToolSchema class final
A tool's declared argument set.
Constructors
-
AgentToolSchema(List<
AgentToolArgument> arguments) -
const
Properties
-
arguments
→ List<
AgentToolArgument> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJsonSchema(
) → Map< String, Object?> - The JSON-Schema object every presentation renders.
-
toString(
) → String -
A string representation of this object.
inherited
-
validate(
Map< String, Object?> raw) → Map<String, Object?> -
raw, checked and narrowed to the declared keys.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- empty → const AgentToolSchema