ParsedToolCall class
A parsed tool call from the model.
- Annotations
-
- @immutable
Constructors
-
ParsedToolCall({required String id, required String name, required Map<
String, dynamic> arguments}) -
A parsed tool call from the model.
const
Properties
-
arguments
→ Map<
String, dynamic> -
The arguments to pass to the tool in JSON Map format.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String
-
The id of the tool to call.
final
- name → String
-
The name of the tool to call.
final
- 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
-
toMap(
) → Map< String, dynamic> - Converts the ParsedToolCall to a Map.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
covariant ParsedToolCall other) → bool -
The equality operator.
override