Class AiToolCall

java.lang.Object
org.netxms.client.ai.AiToolCall

public class AiToolCall extends Object
AI tool call notification
  • Constructor Details

    • AiToolCall

      public AiToolCall(NXCPMessage msg)
      Create tool call object from NXCP message.
      Parameters:
      msg - NXCP message
  • Method Details

    • getChatId

      public long getChatId()
      Get chat ID this tool call belongs to.
      Returns:
      chat ID
    • getContextUsage

      public AiContextUsage getContextUsage()
      Get context window usage at the moment of this tool call.
      Returns:
      context window usage or null if not provided by server
    • getToolName

      public String getToolName()
      Get tool name.
      Returns:
      tool name
    • getDisplayName

      public String getDisplayName()
      Get user-friendly display name for the tool. Converts tool names like "get-node-details" to "Getting node details"
      Returns:
      display name