OptionalincludeSpecify additional output data to include in the model response.
Optionalparallel_Whether to allow the model to run parallel tool calls.
Optionalprevious_The unique ID of the previous response to the model. Use this to create multi-turn conversations.
OptionalreasoningReasoning configuration for reasoning models.
Optionalsearch_Search parameters for xAI's search capabilities.
OptionaltextConfiguration options for a text response from the model.
Optionaltool_Controls which tool is called by the model.
OptionaltoolsA list of tools the model may call. Includes built-in tools (web_search, x_search, code_interpreter, file_search) and custom function tools.
Call options for ChatXAIResponses.