ChatGPT
chatgptSubmits a single prompt to the AI model through Decodo Web Data API and returns the response as JSON, optionally using web search to see how it describes a brand or answers a question.
Instructions
Send one prompt to ChatGPT through the Decodo Web Data API (chatgpt target) and return its answer parsed as JSON. Each call is a single prompt and answer, with no conversation history; set search to let ChatGPT use web search. Use it to see how ChatGPT answers a question, for example to check how it describes a brand. Docs: https://help.decodo.com/docs/web-scraping-api-chatgpt
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": "chatgpt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| geo | No | Geolocation of the desired request, expressed as a country name | |
| prompt | Yes | Prompt to send to ChatGPT | |
| search | No | Activates ChatGPT's web search functionality |