AAI SDK
Preparing search index...
@alexkroman1/aai-ui
useToolCallStart
Function useToolCallStart
useToolCallStart
(
toolName
:
string
,
callback
:
(
toolCall
:
ToolCallInfo
)
=>
void
,
)
:
void
Fire a callback when a tool call starts (before its result arrives). Optionally filter by tool name.
Parameters
toolName
:
string
callback
:
(
toolCall
:
ToolCallInfo
)
=>
void
Returns
void
useToolCallStart
(
callback
:
(
toolCall
:
ToolCallInfo
)
=>
void
)
:
void
Fire a callback when a tool call starts (before its result arrives). Optionally filter by tool name.
Parameters
callback
:
(
toolCall
:
ToolCallInfo
)
=>
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
AAI SDK
Loading...
Fire a callback when a tool call starts (before its result arrives). Optionally filter by tool name.