@mastra/core
Version:
Mastra is a framework for building AI-powered applications and agents with a modern TypeScript stack.
30 lines • 906 B
TypeScript
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;
};
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>;
timeoutMs: z.ZodOptional<z.ZodNumber>;
maxRetries: z.ZodOptional<z.ZodNumber>;
}, z.core.$strip>>;
//# sourceMappingURL=schema-injection.d.ts.map