ask_chatgpt
This tool allows you to send a prompt to OpenAI's ChatGPT via ScrapingBee and get back the generated response.
Scope: one query per call. To run many queries in one pass, or to write
results to disk instead of into the conversation, use the ScrapingBee CLI —
scrapingbee <command> --input-file queries.txt --output-dir results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Response-header label only. | |
| prompt | Yes | The prompt to send to ChatGPT. | |
| search | No | Whether to enable web search capability for the prompt. | |
| add_html | No | Whether to include the full HTML of the page in the results. | |
| country_code | No | ISO country code the request should originate from (affects web results when search is enabled). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||