interface ToolOutputFilterPluginOptions {
    name?: string;
    filterModel: BaseLlm;
    enabledTools?: string[];
    disabledTools?: string[];
    config?: FilterConfig;
}

Properties

name?: string
filterModel: BaseLlm

LLM model used to generate JQ filters (should be fast/cheap like Haiku)

enabledTools?: string[]

Only filter outputs from these tools (undefined = filter all)

disabledTools?: string[]

Skip filtering for these tools

config?: FilterConfig

Configuration for filtering behavior