ToolSchema class

Available extensions
Annotations

Constructors

ToolSchema({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
to → _a

Available on _t, provided by the $ToolSchema extension

no setter
toLangChain → ToolSpec

Available on ToolSchema, provided by the XToolSpec2LC extension

no setter

Methods

copyWith({_7? name, _7? description, _1h? schema}) → _t

Available on _t, provided by the $ToolSchema extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → _5

Available on _t, provided by the $ToolSchema extension

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

Operators

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