Skip to main content
All docs
V26.1
  • AIChatControl.IncludeFunctionCallInfo Property

    Gets or sets whether the AI Chat displays basic details about an invoked function.

    Namespace: DevExpress.AIIntegration.WinForms.Chat

    Assembly: DevExpress.AIIntegration.WinForms.Chat.v26.1.dll

    NuGet Package: DevExpress.AIIntegration.WinForms.Chat

    Declaration

    [DefaultValue(DefaultBoolean.Default)]
    public DefaultBoolean IncludeFunctionCallInfo { get; set; }

    Property Value

    Type Default Description
    DefaultBoolean Default

    DefaultBoolean.True to display function call details; otherwise, DefaultBoolean.False.

    Available values:

    Name Description Return Value
    True

    The value is true.

    0

    False

    The value is false.

    1

    Default

    The value is specified by a global option or a higher-level object.

    2

    Remarks

    Enable the IncludeFunctionCallInfo property to automatically append the following details about each invoked function to the AI chat response:

    • The name or unique identifier of the invoked function (AI tool).
    • Arguments passed to the function.
    • The value returned by the function.

    Tool Call Visualization - WinForms AI Chat Control, DevExpress

    Example

    The following example displays basic details about invoked functions in chat responses:

    aiChatControl1.IncludeFunctionCallInfo = DevExpress.Utils.DefaultBoolean.True;
    

    Handle the ResponseReceived event to inspect or modify this metadata before the chat UI displays it.

    Use the SetFunctionCallInfoContentTemplate method to customize how the control renders function call details.

    Refer to the following help topic for additional information: Tool Calling API

    See Also