Arize Phoenix TS
    Preparing search index...
    anthropicMessageSchema: ZodObject<
        {
            content: ZodUnion<
                readonly [
                    ZodString,
                    ZodArray<
                        ZodDiscriminatedUnion<
                            [
                                ZodObject<{ text: ZodString; type: ZodLiteral<"text"> }, $strip>,
                                ZodObject<
                                    {
                                        source: ZodObject<
                                            { data: ...; media_type: ...; type: ... },
                                            $strip,
                                        >;
                                        type: ZodLiteral<"image">;
                                    },
                                    $strip,
                                >,
                                ZodObject<
                                    {
                                        id: ZodString;
                                        input: ZodType<
                                            JSONLiteral,
                                            unknown,
                                            $ZodTypeInternals<(...), (...)>,
                                        >;
                                        name: ZodString;
                                        type: ZodLiteral<"tool_use">;
                                    },
                                    $strip,
                                >,
                                ZodObject<
                                    {
                                        content: ZodUnion<readonly [(...), (...)]>;
                                        is_error: ZodOptional<ZodBoolean>;
                                        tool_use_id: ZodString;
                                        type: ZodLiteral<"tool_result">;
                                    },
                                    $strip,
                                >,
                            ],
                            "type",
                        >,
                    >,
                ],
            >;
            role: ZodEnum<{ assistant: "assistant"; user: "user" }>;
        },
        $loose,
    > = ...

    TODO: rewrite as discriminated union