Skip to content

Variable: MASTRA\_CONFIG\_SCHEMA

const MASTRA_CONFIG_SCHEMA: ConfigSchema

JSON Schema published on the manifest’s config.schema, mirroring the documented defaults and environment fallbacks of MastraPluginConfig.

Covers the JSON-expressible options only. agents, tools, and a defaultModel passed as a Mastra DynamicArgument are code-defined (functions / class instances), so they carry no schema entry; the defaultModel property below describes its string form.