Search the Web
perplexity_searchSearch the web and get ranked results with titles, URLs, snippets, and dates. Filter by recency and domain to find specific sources, verify facts, or discover recent news.
Instructions
Search the web and return a ranked list of results with titles, URLs, snippets, and dates. Best for: finding specific URLs, checking recent news, verifying facts, discovering sources. Returns formatted results (title, URL, snippet, date) with no AI synthesis. Supports recency filters and domain restrictions. For AI-generated answers with citations, use perplexity_ask instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query string | |
| country | No | ISO 3166-1 alpha-2 country code for regional results (e.g., 'US', 'GB') | |
| max_results | No | Maximum number of results to return (1-20, default: 10) | |
| max_tokens_per_page | No | Maximum tokens to extract per webpage (default: 1024) | |
| search_domain_filter | No | Restrict search results to specific domains (e.g., ['wikipedia.org', 'arxiv.org']). Use '-' prefix for exclusion (e.g., ['-reddit.com']). | |
| search_recency_filter | No | Filter search results by recency. Use 'hour' for very recent news, 'day' for today's updates, 'week' for this week, etc. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | Formatted search results, each with title, URL, snippet, and date |