Del via


CreateResponseRealtimeClientMessage.ToolMode Property

Definition

Gets or sets the tool choice mode for the response.

public:
 property Microsoft::Extensions::AI::ChatToolMode ^ ToolMode { Microsoft::Extensions::AI::ChatToolMode ^ get(); void set(Microsoft::Extensions::AI::ChatToolMode ^ value); };
public Microsoft.Extensions.AI.ChatToolMode? ToolMode { get; set; }
member this.ToolMode : Microsoft.Extensions.AI.ChatToolMode with get, set
Public Property ToolMode As ChatToolMode

Property Value

Remarks

If set, overrides the session-level tool choice for this response only. If null, the session's default tool choice is used.

Applies to