ADK for TypeScript: API Reference
System
Light
Dark
Search…
Preparing search index...
ToolExecuteFunction
类型别名工具:`ExecuteFunction<TParameters>`
ToolExecuteFunction
:
(
input
:
ToolExecuteArgument
<
TParameters
>
,
toolContext
?:
Context
,
)
=>
Promise
<
unknown
>
|
unknown
The signature of the user-provided function executed by a
FunctionTool
.
类型参数(Type Parameters)
TParameters
`extends`
ToolInputParameters
Type Declaration
(
input
:
ToolExecuteArgument
<
TParameters
>
,
toolContext
?:
Context
,
)
:
Promise
<
unknown
>
|
unknown
Parameters
input
:
ToolExecuteArgument
<
TParameters
>
Optional
toolContext
:
Context
Returns
Promise
<
unknown
>
|
unknown
ADK for TypeScript: API Reference - v2.5.0
Loading...
The signature of the user-provided function executed by a FunctionTool.