Generate text
generate_textGenerate text responses by sending prompts to OpenAI models, with support for image input, web search, and instructions.
Instructions
Send a prompt to an OpenAI model and return its text reply. Pass images to ask a vision-capable model about them
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | OpenAI model to use for text generation. Must support image input if images are provided | |
| images | No | Images to include with the prompt, each as an http(s) URL or a file path on this server's filesystem (PNG, JPEG, WEBP, or GIF) | |
| prompt | Yes | The input text to send to the model | |
| webSearch | No | Let the model search the web. Cited pages are listed under Sources in the reply | |
| instructions | No | Optional high-level instructions to steer the model's behavior |