ADK for TypeScript: API Reference
System
Light
Dark
Search…
Preparing search index...
functionsExportedForTestingOnly
Variable functionsExportedForTestingOnly
Const
functionsExportedForTestingOnly
:
{
generateAuthEvent
:
(
invocationContext
:
InvocationContext
,
functionResponseEvent
:
Event
,
)
=>
Event
|
undefined
;
generateRequestConfirmationEvent
:
(
__namedParameters
:
{
functionCallEvent
:
Event
;
functionResponseEvent
:
Event
;
invocationContext
:
InvocationContext
;
}
,
)
=>
Event
|
undefined
;
handleFunctionCallList
:
(
__namedParameters
:
{
afterToolCallbacks
:
SingleAfterToolCallback
[]
;
beforeToolCallbacks
:
SingleBeforeToolCallback
[]
;
filters
?:
Set
<
string
>
;
functionCalls
:
FunctionCall
[]
;
invocationContext
:
InvocationContext
;
toolConfirmationDict
?:
Record
<
string
,
ToolConfirmation
>
;
toolsDict
:
Record
<
string
,
BaseTool
>
;
}
,
)
=>
Promise
<
Event
|
null
>
;
}
= ...
Type Declaration
generateAuthEvent
:
(
invocationContext
:
InvocationContext
,
functionResponseEvent
:
Event
,
)
=>
Event
|
undefined
generateRequestConfirmationEvent
:
(
__namedParameters
:
{
functionCallEvent
:
Event
;
functionResponseEvent
:
Event
;
invocationContext
:
InvocationContext
;
}
,
)
=>
Event
|
undefined
handleFunctionCallList
:
(
__namedParameters
:
{
afterToolCallbacks
:
SingleAfterToolCallback
[]
;
beforeToolCallbacks
:
SingleBeforeToolCallback
[]
;
filters
?:
Set
<
string
>
;
functionCalls
:
FunctionCall
[]
;
invocationContext
:
InvocationContext
;
toolConfirmationDict
?:
Record
<
string
,
ToolConfirmation
>
;
toolsDict
:
Record
<
string
,
BaseTool
>
;
}
,
)
=>
Promise
<
Event
|
null
>
ADK for TypeScript: API Reference
Loading...