Simple Tool interface. Likely to change.
Type parameters
Implements
Constructors
constructor
• new FunctionTool<T
>(fn
, metadata
): FunctionTool
<T
>
Type parameters
Parameters
Name | Type |
---|
fn | (...args : any []) => any |
metadata | Metadata |
Returns