run Method
Run this instance of a Tool. Subclasses should override to perform some action.
run(weight: number, name: string): Promise<boolean>
@returns true
if the tool executed successfully.
Parameter | Type | Description |
---|---|---|
weight | number | |
name | string |
Returns - Promise
true
if the tool executed successfully.
Defined in
Last Updated: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.