chatgpt-ask
Ask a question to the ChatGPT service.
Syntax
chatgpt-ask profile=PROFILE question=QUESTION [mode=MODE] [reasoning=REASONING] [verbosity=VERBOSITY] [max-output-tokens=MAX-OUTPUT-TOKENS]
Options
- profile=PROFILE
- Required. Profile name of ChatGPT
- question=QUESTION
- Required. What to ask ChatGPT.
- mode=MODE
- Optional. Mode for GPT-5, 5.1, 5.2 models. Valid values: instant, auto, thinking.
- reasoning=REASONING
- Optional. Reasoning effort for GPT-5, 5.1, 5.2 models. Valid values: none, low, medium, high, xhigh (xhigh only for GPT-5.2, default: none)
- verbosity=VERBOSITY
- Optional. Output verbosity for GPT-5, 5.1, 5.2 models. Valid values: low, medium, high (default: medium)
- max-output-tokens=MAX-OUTPUT-TOKENS
- Optional. Maximum number of tokens in the output. Must not exceed the max_tokens setting in the profile.
Output Fields
| Field | Type | Name | Description |
|---|---|---|---|
| profile | String | Connect profile | Profile name of ChatGPT |
| answer | String | Answer |