Class ToolCallBase

java.lang.Object
com.alibaba.dashscope.legacy_2x.tools.ToolCallBase
Direct Known Subclasses:
ToolCallCodeInterpreter, ToolCallFunction, ToolCallQuarkSearch

@Deprecated public abstract class ToolCallBase extends Object
Deprecated.
base class of the tool call response.
  • Constructor Details

    • ToolCallBase

      public ToolCallBase()
      Deprecated.
  • Method Details

    • registerToolCall

      protected static void registerToolCall(String toolType, Class<? extends ToolCallBase> clazz)
      Deprecated.
    • getToolCallClass

      public static Class<?> getToolCallClass(String toolType)
      Deprecated.
    • getRegisteredTools

      public static Map<String,Class<?>> getRegisteredTools()
      Deprecated.
    • getType

      public abstract String getType()
      Deprecated.
    • getId

      public abstract String getId()
      Deprecated.
    • getIndex

      public abstract Integer getIndex()
      Deprecated.
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
      Deprecated.
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object