Tool class

Constructors

Tool({required String name, required String description, required Future<String> function(Map<String, dynamic>), List<Parameter> parameters = const []})

Properties

description → String
final
function → Future<String> Function(Map<String, dynamic>)
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
final
parameters ↔ List<Parameter>
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

call(Map<String, dynamic> arguments) → Future<String>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

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