ToolReferenceInputBlock class

Tool reference block in input.

Inheritance
Annotations
  • @immutable

Constructors

ToolReferenceInputBlock({required String toolName, CacheControlEphemeral? cacheControl})
Creates a ToolReferenceInputBlock.
const
ToolReferenceInputBlock.fromJson(Map<String, dynamic> json)
Creates a ToolReferenceInputBlock from JSON.
factory

Properties

cacheControl CacheControlEphemeral?
Cache control for this block.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toolName String
Referenced tool name.
final

Methods

copyWith({String? toolName, Object? cacheControl = unsetCopyWithValue}) ToolReferenceInputBlock
Creates a copy with replaced values.
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