anthropicToolChoiceSchema: ZodDiscriminatedUnion<
    "type",
    [
        ZodObject<
            { name: ZodString; type: ZodLiteral<"tool"> },
            "strip",
            ZodTypeAny,
            { name: string; type: "tool" },
            { name: string; type: "tool" },
        >,
        ZodObject<
            { type: ZodLiteral<"auto"> },
            "strip",
            ZodTypeAny,
            { type: "auto" },
            { type: "auto" },
        >,
        ZodObject<
            { type: ZodLiteral<"any"> },
            "strip",
            ZodTypeAny,
            { type: "any" },
            { type: "any" },
        >,
    ],
> = ...

Anthropic's tool choice schema