ToolCallsDetails class

Details for a tool calls step.

Implemented types
Annotations
  • @immutable

Constructors

ToolCallsDetails({required List<StepToolCall> toolCalls})
Creates a ToolCallsDetails.
const
ToolCallsDetails.fromJson(Map<String, dynamic> json)
Creates a ToolCallsDetails from JSON.
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toolCalls List<StepToolCall>
The tool calls made.
final
type String
The type of step detail.
no setteroverride

Methods

copyWith({List<StepToolCall>? toolCalls}) ToolCallsDetails
Creates a copy with the given fields replaced.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts to JSON.
override
toString() String
A string representation of this object.
override

Operators

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