Type Alias: ChatToolCallFunction
ChatToolCallFunction =
z.infer<typeofChatToolCallFunctionSchema>
ChatToolCallFunction fields
Section titled “ChatToolCallFunction fields”The function a tool call invokes, with its arguments as a JSON string.
name: Function name the model wants to invoke.arguments: JSON-encoded argument object. Streamed in fragments, so assemble before parsing.