UNPKG

edwin-sdk

Version:

SDK for integrating AI agents with DeFi protocols

12 lines (9 loc) 375 B
import { z } from 'zod'; import { createParameterSchema } from '../../core/utils/createParameterSchema'; export const PriceParametersSchema = createParameterSchema( z.object({ symbol: z.string().min(1).describe('The symbol to get price information for'), }) ); // Export clean parameter type export type PriceParameters = typeof PriceParametersSchema.type;