Tool to create a model response for the given input. Beta endpoint with simplified interface compared to chat completions. Use when you need a streamlined API for generating model responses.
textobjectResponse format configuration.
userstringOptional identifier for tracking end-user requests for monitoring and compliance
inputRequiredText input to the model or an array of input items
modelRequiredstringID of the model to use. See available models at https://console.groq.com/docs/models
storebooleanResponse storage flag. Currently only supports false or null
toolsarrayList of tools available to the model. Maximum of 128 functions
top_pnumberNucleus sampling parameter controlling cumulative probability cutoff. Range 0-1
streambooleanEnable streaming mode to receive response data as server-sent events
metadataobjectCustom key-value pairs for storing additional information. Maximum of 16 pairs
reasoningobjectConfiguration for reasoning capabilities.
truncationstringContext truncation strategy.
temperaturenumberControls randomness. Range 0-2. Lower is more deterministic, higher is more creative
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
API key connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.