
AI TavilyWebSearch
CertifiedSearch the web with Tavily
AI TavilyWebSearch
Certified
Search the web with Tavily
Uses Tavily's web search API to fetch live results for the agent. Requires a Tavily API key; queries count against your Tavily quota and follow Tavily relevance settings.
yaml
type: io.kestra.plugin.ai.tool.TavilyWebSearchExamples
Agent searching the web using the Tavily API
yaml
id: research_agent
namespace: company.ai
inputs:
- id: prompt
type: STRING
defaults: What is the latest Kestra release and what new features does it include? (name 10 new features)
tasks:
- id: agent
type: io.kestra.plugin.ai.agent.AIAgent
prompt: "{{ inputs.prompt }}"
provider:
type: io.kestra.plugin.ai.provider.GoogleGemini
modelName: gemini-2.5-flash
apiKey: "{{ secret('GEMINI_API_KEY') }}"
tools:
- type: io.kestra.plugin.ai.tool.TavilyWebSearch
apiKey: "{{ secret('TAVILY_API_KEY') }}"
Properties
apiKey *Requiredstring
Tavily API Key - you can obtain one from the Tavily website