@suiware/ai-tools
Version:
Pluggable tools for Vercel AI SDK which allow AI assistants to interact with Sui Network and perform various actions.
21 lines (18 loc) • 394 B
TypeScript
import * as ai from 'ai';
import z from 'zod';
declare const suiStakeTool: ai.Tool<z.ZodObject<{
amount: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
amount: number;
}, {
amount: number;
}>, {
digest: string;
}> & {
execute: (args: {
amount: number;
}, options: ai.ToolExecutionOptions) => PromiseLike<{
digest: string;
}>;
};
export { suiStakeTool };