ToolsApi class
Registry of tools the model may call.
Constructors
- ToolsApi()
-
Bind the namespace. Reach it through
RunAnywhere.llm.tools.const
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
-
list(
) → List< ToolDefinition> - Every registered tool definition.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
register(
ToolDefinition tool, ToolRunner executor) → void -
Register
tooland theexecutorthat runs it. -
toString(
) → String -
A string representation of this object.
inherited
-
unregister(
String name) → void -
Remove the tool registered under
name.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited