UNPKG

@mastra/core

Version:
40 lines • 1.17 kB
import { z } from 'zod/v4'; /** * JSON Schema definition for the `_background` override field. * Injected into background-eligible tool schemas so the LLM can override behavior per-call. */ export declare const backgroundOverrideJsonSchema: { type: 'object'; description: string; properties: { enabled: { type: 'boolean'; description: string; }; disposition: { type: 'string'; enum: string[]; description: string; }; timeoutMs: { type: 'number'; description: string; }; maxRetries: { type: 'number'; description: string; }; }; additionalProperties: boolean; }; export declare const backgroundOverrideZodSchema: z.ZodOptional<z.ZodObject<{ enabled: z.ZodOptional<z.ZodBoolean>; disposition: z.ZodOptional<z.ZodEnum<{ awaited: "awaited"; deferred: "deferred"; foreground: "foreground"; }>>; timeoutMs: z.ZodOptional<z.ZodNumber>; maxRetries: z.ZodOptional<z.ZodNumber>; }, z.core.$strip>>; //# sourceMappingURL=schema-injection.d.ts.map