search
Perform web research with Perplexity AI by submitting a query, choosing search mode and sources, and receiving an answer with citations.
Instructions
Search Perplexity AI with the given query.
Args: query: The search query string mode: Search mode - 'auto', 'pro', 'reasoning', or 'deep_research' model: Specific model to use (depends on mode): - auto: None - pro: None, 'sonar', 'gpt-4.5', 'gpt-4o', 'claude 3.7 sonnet', 'gemini 2.0 flash', 'grok-2' - reasoning: None, 'r1', 'o3-mini', 'claude 3.7 sonnet' - deep_research: None sources: List of sources to use - 'web', 'scholar', 'social' answer_only: If True, return only answer and backend_uuid. If False, also include sources and related_queries. language: Language code (ISO 639, e.g., 'en-US') incognito: Whether to enable incognito mode
Returns: Dictionary with 'answer' and 'backend_uuid'. If answer_only=False, also includes 'sources' and 'related_queries'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| mode | No | auto | |
| model | No | ||
| sources | No | ||
| answer_only | No | ||
| language | No | en-US | |
| incognito | No |