UNPKG

@arizeai/phoenix-client

Version:
28 lines 1.15 kB
import z from "zod"; /** * The schema for an Anthropic tool call, this is what a message that calls a tool looks like */ export declare const anthropicToolCallSchema: z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"tool_use">; name: z.ZodString; input: z.ZodType<import("../../jsonLiteralSchema").JSONLiteral, unknown, z.core.$ZodTypeInternals<import("../../jsonLiteralSchema").JSONLiteral, unknown>>; }, z.core.$strip>; /** * The type of an Anthropic tool call */ export type AnthropicToolCall = z.infer<typeof anthropicToolCallSchema>; /** * The zod schema for multiple Anthropic tool calls */ export declare const anthropicToolCallsSchema: z.ZodArray<z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"tool_use">; name: z.ZodString; input: z.ZodType<import("../../jsonLiteralSchema").JSONLiteral, unknown, z.core.$ZodTypeInternals<import("../../jsonLiteralSchema").JSONLiteral, unknown>>; }, z.core.$strip>>; /** * Creates an empty Anthropic tool call with fields but no values filled in */ export declare function createAnthropicToolCall(): AnthropicToolCall; //# sourceMappingURL=toolCallSchemas.d.ts.map