Skip to content

BaseMatcherConfig

Shared configuration for built-in value matchers.

const config: BaseMatcherConfig = {
requireAll: true,
allowExtras: false,
};

optional allowExtras?: boolean

Allow actual output/tool calls to contain extra fields or calls.


optional debug?: boolean

Emit matcher debug details to the console.


optional requireAll?: boolean

Require every expected field or tool to match.