Options
Optional configuration. Send these inoptions.
Prompt
This tool needs aprompt: the full instruction, with the data to work on written into it.
extendedThinking is not available on gpt-4o-mini, gpt-5; sending it returns 400.
Output
The answer comes back as text inresult.raw. Asking for JSON in the prompt still returns a string, often inside a Markdown code fence, so parse it yourself.