Variable: ChatToolCallFunctionSchema
constChatToolCallFunctionSchema:ZodObject<{arguments:ZodString;name:ZodString; },$strip>
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.