ToolSchema class

Available extensions
Annotations
  • @artifact

Constructors

ToolSchema.new({required String name, required String description, required Map<String, dynamic> schema})
const

Properties

description String
final
hashCode int
The hash code for this object.
no setterinherited
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schema Map<String, dynamic>
final
toLangChain → ToolSpec

Available on ToolSchema, provided by the XToolSpec2LC extension

no setter

Methods

copyWith({_3? name, _3? description, _1? schema}) → _l

Available on _l, provided by the $ToolSchema extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({bool pretty = _F}) → _3

Available on _l, provided by the $ToolSchema extension

toMap() → _1

Available on _l, provided by the $ToolSchema extension

toString() String
A string representation of this object.
inherited

Operators

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