Toolkit class abstract

Constructors

Toolkit({required String name, String? title, String? description, required List<BaseTool> tools, List<String> rules = const [], ValidationMode validationMode = ValidationMode.full})

Properties

description → String?
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
final
rules → List<String>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
title → String?
final
tools → List<BaseTool>
final
validationMode → ValidationMode
final

Methods

execute(ToolContext context, String name, ToolInput input) → Future<ToolCallOutput>
getTool(String name) → BaseTool
getTools() → Map<String, dynamic>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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