collaborativePlanning

public final DeepResearchAgentConfig.Builder collaborativePlanning(Boolean collaborativePlanning)

Enables human-in-the-loop planning for the Deep Research agent. If set to true, the Deep Research agent will provide a research plan in its response. The agent will then proceed only if the user confirms the plan in the next turn.


public final DeepResearchAgentConfig.Builder collaborativePlanning(JsonField<Boolean> collaborativePlanning)

Sets Builder.collaborativePlanning to an arbitrary JSON value.

You should usually call Builder.collaborativePlanning with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.