Perplexity
perplexitySubmit a single prompt through Decodo's Web Data API to retrieve a JSON answer and the sources the AI engine draws on, with no conversation history.
Instructions
Send one prompt to Perplexity through the Decodo Web Data API (perplexity target) and return its answer parsed as JSON. Each call is a single prompt and answer, with no conversation history. Use it to see how Perplexity answers a question and which sources it draws on. Docs: https://help.decodo.com/docs/web-scraping-api-perplexity
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": "perplexity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| geo | No | Geolocation of the desired request, expressed as a country name | |
| prompt | Yes | Prompt to send to Perplexity |