The agent to interact with.
Optionalagent_config?: DynamicAgentConfig | DeepResearchAgentConfigConfiguration parameters for the agent interaction.
Optionalbackground?: booleanInput only. Whether to run the model interaction in the background.
Optionalenvironment?: Environment | stringThe environment configuration for the interaction. Can be an object specifying remote environment sources or a string referencing an existing environment ID.
The input for the interaction.
Optionalprevious_interaction_id?: stringThe ID of the previous interaction, if any.
Optionalresponse_format?: ResponseFormat[] | ResponseFormatEnforces that the generated response is a JSON object that complies with the JSON schema specified in this field.
Optionalresponse_mime_type?: stringThe mime type of the response. This is required if response_format is set.
Optionalresponse_modalities?: ResponseModality[]The requested modalities of the response (TEXT, IMAGE, AUDIO).
Optionalservice_tier?: ServiceTierOptionalstore?: booleanInput only. Whether to store the response and request for later retrieval.
Optionalstream?: booleanInput only. Whether the interaction will be streamed.
Optionalsystem_instruction?: stringSystem instruction for the interaction.
Optionaltools?: Tool[]A list of tool declarations the model may call during interaction.
Optionalwebhook_config?: WebhookConfigMessage for configuring webhook events for a request.
Parameters for creating agent interactions