defineTool
function defineTool<S, R>(config): EffectTool<InferToolInput<S>, R>;Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
|
|
|
|
|
|
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
{ |
|
|
|
|
|
( |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Returns
Section titled “Returns”EffectTool<InferToolInput<S>, R>