pplx_query
Query Perplexity AI with a specific model or thinking mode when automatic routing cannot meet your needs; each call costs one Pro Search query.
Instructions
Query Perplexity AI with explicit model selection. COSTS 1 PRO SEARCH QUERY per call.
Prefer pplx_smart_query for automatic quota-aware routing. Use this only when
you need a specific model or thinking mode. Omitted model, thinking, and
source_focus fall back to saved defaults (set with pwm config in the CLI),
then to auto/web/off.
Args: query: The question to ask model: Model to use - auto, sonar, deep_research, gpt56_terra, gpt56_sol, gpt6_sol, grok45, grok47, claude_sonnet, claude_opus, claude_opus55, gemini_pro, gemini38, nemotron, glm52, glm53, kimi_k26, kimi_k3 (any live catalog identifier is also accepted). An unknown name returns an error with close-match suggestions. thinking: Enable extended thinking mode (available for gpt56_terra, gpt56_sol, gpt6_sol, grok45, grok47, claude_sonnet, claude_opus, claude_opus55, gemini38, kimi_k26; always on for gemini_pro, nemotron, glm52, glm53, and kimi_k3) source_focus: Source type - none (model only, no search), web, academic, social, finance, all, or connector source ID from pplx_connectors() files: Local file paths to attach (PDF or image). On Free-tier accounts an attachment can make the query count as a Pro Search.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | ||
| model | No | ||
| query | Yes | ||
| thinking | No | ||
| source_focus | No | ||
| conversation_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |