Advanced Reasoning
perplexity_reasonApply step-by-step reasoning with web grounding to complex questions. Ideal for math, logic, comparisons, and multi-step arguments. Returns reasoned answers with numbered citations. Supports recency, domain, and search context filters.
Instructions
Analyze a question using step-by-step reasoning with web grounding (Sonar Reasoning Pro model). Best for: math, logic, comparisons, complex arguments, and tasks requiring chain-of-thought. Returns a reasoned response with numbered citations. Supports filtering by recency (hour/day/week/month/year), domain restrictions, and search context size. For quick factual questions, use perplexity_ask instead. For comprehensive multi-source research, use perplexity_research instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| messages | Yes | Array of conversation messages | |
| strip_thinking | No | If true, removes <think>...</think> tags and their content from the response to save context tokens. Default is false. | |
| 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. | |
| 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_context_size | No | Controls how much web context is retrieved. 'low' (default) is fastest, 'high' provides more comprehensive results. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response | Yes | AI-generated text response with numbered citation references |