chatgpt_webui_prompt
Run ChatGPT prompts via web UI, automatically using background mode for long tasks such as Deep Research or image generation and waiting directly for quick responses.
Instructions
Unified prompt entrypoint. mode=auto uses background runs for long tasks (Deep Research, Pro/Thinking, image generation) and direct wait for short tasks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Execution mode. auto chooses best mode. wait blocks for result. background returns run_id. | |
| model | No | Model slug override. Examples: gpt-5-2, gpt-5-2-pro, gpt-5-1-instant, research. Ignored when deep_research=true. | |
| prompt | Yes | Prompt to send. | |
| workspace | No | Preferred workspace label if ChatGPT shows workspace selection (e.g. PRO, Personal). | |
| model_mode | No | Quick model mode selector that maps to GPT-5.2 variants. | |
| wait_for_ms | No | Optional extra wait window for background mode before returning running state. | |
| create_image | No | Enable image-generation mode in ChatGPT UI. | |
| deep_research | No | Enable Deep Research flow. When true, model selection switches to research mode. | |
| conversation_id | No | Optional conversation id to continue an existing chat. | |
| wait_timeout_ms | No | Max wait for response completion in milliseconds (supports long GPT-5.2 Pro runs). | |
| poll_interval_ms | No | Polling interval when wait_for_ms is set. Default 2000ms. | |
| reasoning_effort | No | UI reasoning control. Mainly relevant for thinking-capable models. | |
| parent_message_id | No | Optional parent message id for continued conversation state. | |
| deep_research_site_mode | No | Optional Deep Research sites mode override. |