Tavily Web Search
tavily_searchSearch the web for current information with filters for topic, date range, and domains. Get ranked results, optional synthesized answers, images, or full page content.
Instructions
Search the web via Tavily Search API with automatic key pool failover.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "tavily_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query. Keep it concise and specific, in the words target pages use. | |
| topic | No | Search category: 'general' (default) or 'news'. | |
| country | No | Boost results from a specific full country name (topic='general'). | |
| end_date | No | Return results published before this date (YYYY-MM-DD). | |
| start_date | No | Return results published after this date (YYYY-MM-DD). | |
| time_range | No | Filter results published within 'day', 'week', 'month', or 'year'. | |
| exact_match | No | Only return results containing exact quoted phrase(s) in query. | |
| max_results | No | Maximum number of search results to return (1-20). | |
| search_depth | No | Search depth: 'basic' (1 credit), 'advanced' (2 credits, more thorough), 'fast', or 'ultra-fast'. | |
| include_answer | No | Include a short synthesized answer alongside search results. | |
| include_images | No | Include query-related image URLs. | |
| exclude_domains | No | Domains to exclude from results. | |
| include_domains | No | Domains to specifically include (e.g. ['docs.python.org']). | |
| include_favicon | No | Include favicon URL for each result. | |
| include_raw_content | No | Include cleaned full page content per result (truncated safely). | |
| include_published_date | No | Include detected publication dates when available. | |
| filter_by_published_date | No | Filter strictly to requested date window, excluding undated pages. | |
| include_image_descriptions | No | Include image descriptions alongside image URLs. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |