n8n
Version:
n8n Workflow Automation Tool
9 lines (8 loc) • 487 B
TypeScript
import { type AgentJsonConfig } from '@n8n/api-types';
export declare function getProviderPrefix(modelId: string): string;
export declare function hasNativeWebSearchProvider(modelId: string): boolean;
export declare function isNativeWebSearchRequested(config: AgentJsonConfig): boolean;
export declare function getNativeWebSearchProviderTools(config: AgentJsonConfig, options: {
includeDefaultArgs: boolean;
defaultEnabled?: boolean;
}): Record<string, Record<string, unknown>>;