Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/JAVA/Openclaw/scripts/lib/   (Openclaw AI Version 22©)  Datei vom 26.3.2026 mit Größe 986 B image not shown  

Quelle  web-search-contract-api.ts  Sprache: unbekannt

 
import {
  createWebSearchProviderContractFields,
  type WebSearchProviderPlugin,
} from "openclaw/plugin-sdk/provider-web-search-contract";

export function createTavilyWebSearchProvider(): WebSearchProviderPlugin {
  const credentialPath = "plugins.entries.tavily.config.webSearch.apiKey";

  return {
    id: "tavily",
    label: "Tavily Search",
    hint: "Structured results with domain filters and AI answer summaries",
    onboardingScopes: ["text-inference"],
    credentialLabel: "Tavily API key",
    envVars: ["TAVILY_API_KEY"],
    placeholder: "tvly-...",
    signupUrl: "https://tavily.com/",
    docsUrl: "https://docs.openclaw.ai/tools/tavily",
    autoDetectOrder: 70,
    credentialPath,
    ...createWebSearchProviderContractFields({
      credentialPath,
      searchCredential: { type: "scoped", scopeId: "tavily" },
      configuredCredential: { pluginId: "tavily" },
      selectionPluginId: "tavily",
    }),
    createTool: () => null,
  };
}

Messung V0.5 in Prozent
C=94 H=100 G=96

[zur Elbe Produktseite wechseln0.10QuellennavigatorsAnalyse erneut starten2026-09-28]