DVAIToolRegistry class

Constructors

DVAIToolRegistry()
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
names → List<String>
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

call(String name, [DVJsonObject input = const {}]) → Future<DVJsonValue>
clear() → void
contains(String name) → bool
definition(String name) → DVAIToolDefinition?
definitions(Iterable<String> names) → List<DVAIToolDefinition>
Resolves names to registered definitions, skipping unknown tools so a stale tool name cannot fail an otherwise valid agent run.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
register(String name, DVAIToolHandler handler, {String description = '', DVJsonObject parameters = const <String, DVJsonValue>{}}) → void
registerDefinition(DVAIToolDefinition definition) → void
toString() → String
A string representation of this object.
inherited

Operators

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