ToolRegistry class
Constructors
- ToolRegistry({required AgentSync sync})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
adopt(
RegisteredTool tool) → RegisteredTool -
get(
String id) → RegisteredTool? -
getByName(
String name) → RegisteredTool? -
list(
) → List< RegisteredTool> -
listPublic(
) → List< Map< String, dynamic> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
register(
{String? id, required String name, String? description, Map< String, dynamic> ? inputSchema, required ToolExecute execute}) → RegisteredTool -
remove(
String id) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited