@hbbio/nanoagent
Preparing search index...
ToolHandler
Type Alias ToolHandler<In, Out, Memory>
ToolHandler
:
(
args
:
In
,
memory
:
Memory
,
)
=>
Promise
<
ToolCallResponse
<
Memory
,
Out
>
>
Async function implementing the tool logic.
Type Parameters
In
=
unknown
Out
=
unknown
Memory
extends
ChatMemory
=
ChatMemory
Type declaration
(
args
:
In
,
memory
:
Memory
)
:
Promise
<
ToolCallResponse
<
Memory
,
Out
>
>
Parameters
args
:
In
memory
:
Memory
Returns
Promise
<
ToolCallResponse
<
Memory
,
Out
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@hbbio/nanoagent
Loading...
Async function implementing the tool logic.