UNPKG

@mastra/core

Version:

Mastra is the Typescript framework for building AI agents and assistants. It’s used by some of the largest companies in the world to build internal AI automation tooling and customer-facing agents.

8 lines 557 B
import type { z } from 'zod'; import { Tool as BaseTool } from './tool.js'; import type { ToolAction, ToolExecutionContext } from './types.js'; export * from './tool.js'; export declare class Tool<TSchemaIn extends z.ZodSchema | undefined = undefined, TSchemaOut extends z.ZodSchema | undefined = undefined, TContext extends ToolExecutionContext<TSchemaIn> = ToolExecutionContext<TSchemaIn>> extends BaseTool<TSchemaIn, TSchemaOut, TContext> { constructor(opts: ToolAction<TSchemaIn, TSchemaOut, TContext>); } //# sourceMappingURL=index.warning.d.ts.map