Set text or JSON output for an assistant

Open an assistant and review “Model Configuration” for its selected connection and model. Choose a “Response format” supported by the provider. For OpenAI’s json_schema option, supply a JSON Schema that parses as an object. Review “Max output tokens” and any available “Verbosity” setting, then save the assistant.

By Loop Syntax · Last reviewed: 4 December 2026 (Singapore time)

Before you start

Sign in as a workspace member or admin, select the correct tenant and open an assistant with an available connection and model. Have a JSON Schema ready if you intend to use the OpenAI schema option. Provider and model choices determine which controls the editor shows.

Set the response format

  1. Open “Assistants”, select the assistant and confirm its “Connection (API Key)” and “Model”. The model profile is associated with that connection and model.
  2. In “Model Configuration”, find “Response format”. OpenAI offers text, json_object and json_schema. DeepSeek offers text and json_object. Choose the format required for your use.
  3. If using OpenAI json_schema, enter the schema in “JSON Schema”. It must be present and parse as a JSON object. An array, scalar or null does not meet the editor’s object check.
  4. Review “Max output tokens”. Its input has a minimum of 1 and uses whole-number steps. For supported OpenAI GPT-5-family model names, “Verbosity” offers provider default, low, medium and high.
  5. Choose “Save Assistant”. If the form reports a schema problem, correct the field and save again. Reopen the intended connection and model profile when reviewing settings later.

Understand the fields

“Response format” selects the output setting in the model profile. The available choices depend on the provider selected for that assistant. The JSON Schema field appears for OpenAI when json_schema is selected. The editor checks that the field is filled in and parses as a JSON object. Review the schema against the fields your workflow expects.

“Max output tokens” sets an output budget in the editor. “Verbosity” appears for model names beginning with gpt-5 in OpenAI. The DeepSeek editor offers text and JSON object output. If an older profile used the schema option, the editor shows json_object. Review the format after changing the selected profile.

If something goes wrong

“A JSON Schema is required when response format is json_schema.” means the schema field is empty. Enter an object and retry. “The response schema must be a JSON object.” means the parsed value is not an object; replace an array, scalar or null with an object. Invalid JSON also needs correction before saving. If “Failed to save assistant.” remains, retry and contact your administrator with the message.