perplexity_query
Submit a question to get a Perplexity-generated answer with cited URLs and domains; optionally set the model, token limit, or system prompt.
Instructions
Ask Perplexity (Agent API + web search); return answer + cited URLs/domains.
Defaults to the fast effort preset. Pass model to pin one
(e.g. openai/gpt-5-mini); legacy names like sonar still work.
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": {
"question": "<question>"
},
"name": "perplexity_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| question | Yes | ||
| max_tokens | No | ||
| system_prompt | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||