
AI GoogleCustomWebSearch
CertifiedSearch the web with Google CSE
AI GoogleCustomWebSearch
Certified
Search the web with Google CSE
Runs queries through Google Custom Search and returns results to the agent. Requires a Google API key and Custom Search Engine ID (csi/cx); usage is subject to your CSE quotas and filters.
yaml
type: io.kestra.plugin.ai.tool.GoogleCustomWebSearchExamples
Agent using Google Custom Search for web queries
yaml
id: agent_searching_web
namespace: company.ai
inputs:
- id: prompt
type: STRING
defaults: What is the latest Kestra release and what new features does it include?
tasks:
- id: agent
type: io.kestra.plugin.ai.agent.AIAgent
provider:
type: io.kestra.plugin.ai.provider.GoogleGemini
apiKey: "{{ secret('GEMINI_API_KEY') }}"
modelName: gemini-2.5-flash
prompt: "{{ inputs.prompt }}"
tools:
- type: io.kestra.plugin.ai.tool.GoogleCustomWebSearch
apiKey: "{{ secret('GOOGLE_SEARCH_API_KEY') }}"
csi: "{{ secret('GOOGLE_SEARCH_CSI') }}"
Properties
apiKey *Requiredstring
API key
csi *Requiredstring
Custom search engine ID (cx)