ask
Submit a question to receive real-time web-grounded answers with citations from Perplexity AI. Enables research with up-to-date information.
Instructions
Ask Perplexity a question with real-time web-grounded answers and citations. Trigger: 'use perplexity', 'ask perplexity', or 'perplexity:' followed by a question.
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": {
"prompt": "<prompt>"
},
"name": "ask"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | The question or prompt for Perplexity | |
| model | No | Model identifier (optional, defaults to sonar-pro). Models: sonar, sonar-pro. | |
| search | No | Enable web search grounding (default: true) |