@arizeai/phoenix-client
Version:
A client for the Phoenix API
16 lines • 541 B
TypeScript
import z from "zod";
/**
* Anthropic's tool choice schema
*
* @see https://docs.anthropic.com/en/api/messages
*/
export declare const anthropicToolChoiceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
type: z.ZodLiteral<"tool">;
name: z.ZodString;
}, z.core.$strip>, z.ZodObject<{
type: z.ZodLiteral<"auto">;
}, z.core.$strip>, z.ZodObject<{
type: z.ZodLiteral<"any">;
}, z.core.$strip>], "type">;
export type AnthropicToolChoice = z.infer<typeof anthropicToolChoiceSchema>;
//# sourceMappingURL=toolChoiceSchemas.d.ts.map