Type Alias: ToolCallElement
ToolCallElement:
object
Defined in: packages/core/src/types.ts:41
Type of ToolCallElement. A ToolCallElement is a ReactNode element
that can be reconstructed by using the type
and config
.
Type declaration
config
config:
Record
<string
,unknown
>
type
type:
string
Param
The type of the tool call element, which is the name of the functional component
Param
The config of the tool call element, which is the props of the functional component