FunctionStepCall class

A function tool call.

Implemented types
Annotations
  • @immutable

Constructors

FunctionStepCall({required String id, required String name, required String arguments, String? output})
Creates a FunctionStepCall.
const
FunctionStepCall.fromJson(Map<String, dynamic> json)
Creates a FunctionStepCall from JSON.
factory

Properties

arguments String
The function arguments.
final
hashCode int
The hash code for this object.
no setteroverride
id String
The tool call ID.
final
name String
The function name.
final
output String?
The function output (after submission).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
The type of tool call.
no setteroverride

Methods

copyWith({String? id, String? name, String? arguments, Object? output = unsetCopyWithValue}) FunctionStepCall
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