Advanced Reasoning
perplexity_reasonBreak down complex questions via step-by-step reasoning with web-grounding and numbered citations. For math, logic, comparisons, and chain-of-thought.
Instructions
Analyze a question using step-by-step reasoning with web grounding (Perplexity Agent API, medium preset). 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 | |
| search_context_size | No | Controls how much web context is retrieved. 'low' is fastest, 'high' provides more comprehensive results. | |
| 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 |
|---|---|---|---|
| response | Yes | AI-generated text response with numbered citation references |