pplx_query
Query Perplexity AI with explicit model selection. COSTS 1 PRO SEARCH QUERY per call.
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, gpt61_sol, gpt6_astra, gemini4_carbon, gemini4_hydrogen, gemini_pro, claude_sonnet, claude_opus, claude_opus55, claude_fable52, grok47, nemotron, glm53, 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 gpt61_sol, gpt6_astra, gemini4_carbon, gemini4_hydrogen, claude_sonnet, claude_opus, claude_opus55, claude_fable52, grok47; always on for 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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "pplx_query"
}
}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 |