Reference
Remy Reference/agent/searchPerplexity
?

searchPerplexity

Search the web using the Perplexity API and return structured results.
mindstudio.searchPerplexity({ query, exportType }) → Result

Runs a web search through Perplexity and returns structured, sourced results — an answer-oriented alternative to raw Google results.

Parameters
query
string
RequiredSearch query to send to Perplexity
exportType
string
RequiredOutput format for the variable: plain text or structured JSON
textjson
countryCode
string
ISO country code to filter results by region (e.g. "us", "gb")
numResults
number
Number of results to return (1-20, default: 10)
Call from a method
import { mindstudio } from '@mindstudio-ai/agent';

const result = await mindstudio.searchPerplexity({
  query: /* ... */,
  exportType: /* ... */
});