Actions6
- Chat Actions
- Audio Actions
- Video Actions
- Image Actions
Chat → Message a model
AI-generatedSummary
Send a chat conversation composed of messages with specified roles to a chosen AI model and receive the model's response.
Inputs
- Model (required) — Specify the ID of the AI model to interact with (e.g., maia/gemini-2.5-flash).
- Messages (required) — Provide one or more messages as an array, each with a role (System, User, or Assistant) and content string to form the chat input.
- Additional Fields — Optionally specify parameters such as temperature, max tokens, top_p, streaming toggle, stop sequences, presence and frequency penalties, and enable AI tools (Google Maps, URL Context, Code Execution, Google Search) with detailed settings per tool.
Output shape
A single JSON object containing the AI model's response message.
The operation returns the chat completion result from the selected AI model based on the provided messages and parameters. Errors are returned in a standardized JSON error message if the request fails.