Skip to content

Interface: ToolkitOptions

Filter / rename options accepted by every plugin’s .toolkit() method. Mirrors AppKit’s ToolkitOptions verbatim so options pass through unchanged - the underlying AppKit plugin does the filtering and we just adapt the resulting entries into Mastra tools.

optional except?: string[]

Denylist of local tool names.


optional only?: string[]

Allowlist of local tool names.


optional prefix?: string

Key prefix prepended to every tool name. AppKit’s default is ${pluginName}. when omitted; pass an explicit "" to drop it.


optional rename?: Record<string, string>

Remap specific local names to different keys.