@mastra/core
Version:
The core foundation of the Mastra framework, providing essential components and interfaces for building AI-powered applications.
8 lines • 548 B
TypeScript
import type { z } from 'zod';
import { Tool as BaseTool } from './tool';
import type { ToolAction, ToolExecutionContext } from './types';
export * from './tool';
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