Perplexity Search (Beta)
perplexity_searchAsk Perplexity a question and retrieve its parsed answer with cited web sources for AI search monitoring or brand visibility checks.
Instructions
Beta: success rate and response time can vary; retry failed requests.
Ask Perplexity (perplexity.ai) a question and retrieve its parsed answer.
Returns Perplexity's answer as structured data, with the web sources it cites, for a prompt.
When to use:
Seeing what Perplexity answers for a prompt, and which sources it cites
Brand visibility or AI search monitoring on Perplexity
When NOT to use:
Answers from ChatGPT (use 'chatgpt_search')
Answers from the Gemini chat app (use 'google_gemini')
Google AI Mode answers in Google Search (use 'google_ai_mode')
Args: params (PerplexitySearchParams): query (required) plus optional output_format.
Returns: str: JSON (default) or CSV containing the structured AI answer.
Raises: ToolError: If the API key is missing, the rate limit is exceeded, or the request fails.
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": {
"params": "<params>"
},
"name": "perplexity_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |