Skip to main content
Run a prompt through any of these models. Every model takes the same request; pick one by its tool ID.

Options

Optional configuration. Send these in options.

Prompt

This tool needs a prompt: 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 in result.raw. Asking for JSON in the prompt still returns a string, often inside a Markdown code fence, so parse it yourself.

Example

See Tools API for the response format and polling.