AI Web Search (Tavily)
search.ai.webSearch the web with AI to get synthesized answers and curated results with page content and relevance scores. Filter by domain or recency for targeted information retrieval.
Instructions
AI-optimized web search — returns synthesized answer + curated results with extracted page content and relevance scores. Built for LLM/agent RAG pipelines. Supports domain filtering and recency (Tavily)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query — Tavily returns AI-synthesized answer + curated results with extracted content | |
| search_depth | No | Search depth: "basic" (faster, 1 credit) or "advanced" (deeper, 2 credits). Default: basic | |
| include_answer | No | Include AI-synthesized answer based on search results (default true) | |
| max_results | No | Number of results to return (default 5, max 20) | |
| include_domains | No | Only include results from these domains (e.g. ["wikipedia.org", "arxiv.org"]) | |
| exclude_domains | No | Exclude results from these domains (e.g. ["reddit.com"]) | |
| days | No | Recency filter — only include results from the last N days |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. | |
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. |