ChatToolMode.None Property

Definition

Gets a predefined ChatToolMode indicating that tool usage is unsupported.

C#
public static Microsoft.Extensions.AI.NoneChatToolMode None { get; }

Property Value

Remarks

Tools can contain zero or more AITool instances, but the IChatClient should not request the invocation of any of them. This can be used when the IChatClient should know about tools in order to provide information about them or plan out their usage, but should not request the invocation of any of them.

Applies to

Product Versions
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)