unified-llm-client
Preparing search index...
ToolCallDispatcher
Interface ToolCallDispatcher
Allows an integration to own tool execution outside the conversation runtime.
interface
ToolCallDispatcher
{
execute
(
input
:
{
call
:
CanonicalToolCall
;
metadata
?:
Record
<
string
,
JsonValue
>
;
model
:
string
;
provider
:
CanonicalProvider
;
sessionId
:
string
;
signal
:
AbortSignal
;
}
,
)
:
Promise
<
JsonValue
>
;
}
Index
Methods
execute
Methods
execute
execute
(
input
:
{
call
:
CanonicalToolCall
;
metadata
?:
Record
<
string
,
JsonValue
>
;
model
:
string
;
provider
:
CanonicalProvider
;
sessionId
:
string
;
signal
:
AbortSignal
;
}
,
)
:
Promise
<
JsonValue
>
Parameters
input
:
{
call
:
CanonicalToolCall
;
metadata
?:
Record
<
string
,
JsonValue
>
;
model
:
string
;
provider
:
CanonicalProvider
;
sessionId
:
string
;
signal
:
AbortSignal
;
}
Returns
Promise
<
JsonValue
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
execute
unified-llm-client
Loading...
Allows an integration to own tool execution outside the conversation runtime.