@arizeai/phoenix-client
Version:
A client for the Phoenix API
41 lines • 1.33 kB
TypeScript
import z from "zod";
/**
* The Phoenix tool definition schema
*/
export declare const phoenixToolDefinitionSchema: z.ZodObject<{
type: z.ZodLiteral<"function">;
function: z.ZodObject<{
name: z.ZodString;
description: z.ZodOptional<z.ZodString>;
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
strict: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
name: string;
parameters?: Record<string, unknown> | undefined;
description?: string | undefined;
strict?: boolean | undefined;
}, {
name: string;
parameters?: Record<string, unknown> | undefined;
description?: string | undefined;
strict?: boolean | undefined;
}>;
}, "strip", z.ZodTypeAny, {
function: {
name: string;
parameters?: Record<string, unknown> | undefined;
description?: string | undefined;
strict?: boolean | undefined;
};
type: "function";
}, {
function: {
name: string;
parameters?: Record<string, unknown> | undefined;
description?: string | undefined;
strict?: boolean | undefined;
};
type: "function";
}>;
export type PhoenixToolDefinition = z.infer<typeof phoenixToolDefinitionSchema>;
//# sourceMappingURL=toolSchemas.d.ts.map