Skip to main content
All docs
V25.2
  • AIToolsBehavior.ToolType Property

    Gets or sets the type that defines tool methods (annotated with the AIIntegrationTool attribute) to expose to the AI model.

    Namespace: DevExpress.AIIntegration.Wpf

    Assembly: DevExpress.AIIntegration.Wpf.v25.2.dll

    NuGet Package: DevExpress.AIIntegration.Wpf

    Declaration

    public Type ToolType { get; set; }

    Property Value

    Type Description
    Type

    The type that defines tool methods.

    Remarks

    A tool method must meet the following conditions to be discoverable:

    • The method must have the AIIntegrationTool attribute with a unique identifier.
    • The method must be public and static.
    [AIIntegrationTool("Tool_1 identifier...")]
    [Description("Tool_1 description...")]
    public static string Tool_1() {
        // Tool_1 implementation...
    }
    

    See the following help topic for more information: Tool Calling (AI Chat Control).

    See Also