disable_structured_output: Disable Structured Output (clean provider toggles)

View source: R/json_mode.R

disable_structured_outputR Documentation

Disable Structured Output (clean provider toggles)

Description

Removes response_format/response_schema/response_mime_type and schema tool if present. Keeps user tools intact.

Usage

disable_structured_output(config)

Arguments

config

llm_config

Value

The llm_config with the structured-output request fields removed.

See Also

enable_structured_output()


LLMR documentation built on July 11, 2026, 1:06 a.m.