UNPKG

@suiware/ai-tools

Version:

Pluggable tools for Vercel AI SDK which allow AI assistants to interact with Sui Network and perform various actions.

29 lines (26 loc) 628 B
import * as ai from 'ai'; import z from 'zod'; declare const suiTransferTool: ai.Tool<z.ZodObject<{ coin: z.ZodEffects<z.ZodString, string, string>; amount: z.ZodNumber; address: z.ZodEffects<z.ZodString, string, string>; }, "strip", z.ZodTypeAny, { coin: string; address: string; amount: number; }, { coin: string; address: string; amount: number; }>, { digest: any; }> & { execute: (args: { coin: string; address: string; amount: number; }, options: ai.ToolExecutionOptions) => PromiseLike<{ digest: any; }>; }; export { suiTransferTool };