Arize Phoenix TS
    Preparing search index...
    llmProviderToolCallsSchema: ZodArray<
        ZodUnion<
            readonly [
                ZodObject<
                    {
                        function: ZodObject<
                            { arguments: ZodString; name: ZodString },
                            $loose,
                        >;
                        id: ZodString;
                        type: ZodPipe<
                            ZodOptional<ZodLiteral<"function">>,
                            ZodTransform<"function", "function" | undefined>,
                        >;
                    },
                    $strip,
                >,
                ZodObject<
                    {
                        id: ZodString;
                        input: ZodType<
                            JSONLiteral,
                            unknown,
                            $ZodTypeInternals<JSONLiteral, unknown>,
                        >;
                        name: ZodString;
                        type: ZodLiteral<"tool_use">;
                    },
                    $strip,
                >,
                ZodObject<
                    {
                        tool_call: ZodObject<
                            {
                                arguments: ZodString;
                                name: ZodString;
                                type: ZodLiteral<"function">;
                            },
                            $strip,
                        >;
                        tool_call_id: ZodString;
                        type: ZodLiteral<"tool_call">;
                    },
                    $strip,
                >,
                ZodObject<
                    {
                        input: ZodType<
                            JSONLiteral,
                            unknown,
                            $ZodTypeInternals<JSONLiteral, unknown>,
                        >;
                        toolCallId: ZodString;
                        toolName: ZodString;
                        type: ZodLiteral<"tool-call">;
                    },
                    $strip,
                >,
            ],
        >,
    > = ...

    A union of all the lists of tool call formats

    This is useful for parsing all of the tool calls in a message