Class McpClientCommonProperties.Toolcallback

java.lang.Object
org.springframework.ai.mcp.client.autoconfigure.properties.McpClientCommonProperties.Toolcallback
Record Components:
enabled - A boolean flag indicating whether the tool callback is enabled. If true, the tool callback is active; otherwise, it is disabled.
Enclosing class:
McpClientCommonProperties

public static class McpClientCommonProperties.Toolcallback extends Object
Represents a callback configuration for tools.

This record is used to encapsulate the configuration for enabling or disabling tool callbacks in the MCP client.

  • Constructor Details

    • Toolcallback

      public Toolcallback()
  • Method Details

    • setEnabled

      public void setEnabled(boolean enabled)
    • isEnabled

      public boolean isEnabled()