UNPKG

tinyagent-ts

Version:

Modern TypeScript framework for building AI agents with pluggable tools and ReAct reasoning

29 lines (28 loc) 764 B
import { z } from 'zod'; import { BaseTool } from './types'; /** * Schema for UUID generation (no arguments needed) */ export declare const UuidToolSchema: z.ZodObject<{ version: z.ZodOptional<z.ZodLiteral<4>>; }, "strip", z.ZodTypeAny, { version?: 4 | undefined; }, { version?: 4 | undefined; }>; export type UuidToolArgs = z.infer<typeof UuidToolSchema>; /** * UUID generation tool */ export declare class UuidTool extends BaseTool { name: string; description: string; schema: z.ZodObject<{ version: z.ZodOptional<z.ZodLiteral<4>>; }, "strip", z.ZodTypeAny, { version?: 4 | undefined; }, { version?: 4 | undefined; }>; execute(args: UuidToolArgs, abortSignal?: AbortSignal): Promise<string>; }