Perplexity Search Tool
Perplexity Search provides real-time web search with advanced filtering including domain, language, date range, and recency filters.Installation
Environment Variables
Quick Start
1
Simple Usage
2
With Configuration
Adjust agent instructions, tool options, and provider settings for production — see the Configuration section below.
Configuration Options
Using with AI SDK Directly
Filter Options
Domain Filter
Language Filter
Recency Filter
Advanced Example
Response Format
Multi-Query Search
Error Handling
Best Practices
Guidelines
Guidelines
- Use recency filters - Get the most current information
- Filter by domain - Focus on authoritative sources
- Set language - Get results in the desired language
- Limit results - Start with fewer results for faster responses

