Class ConversationToolCalls

java.lang.Object
io.dapr.client.domain.ConversationToolCalls

public class ConversationToolCalls extends Object
Represents a tool call request sent from the LLM to the client to execute.
  • Constructor Details

    • ConversationToolCalls

      public ConversationToolCalls(ConversationToolCallsOfFunction function)
      Constructor without ID.
      Parameters:
      function - the function to call
  • Method Details

    • getId

      public String getId()
      Gets the unique identifier for the tool call.
      Returns:
      the tool call ID, or null if not provided
    • setId

      public ConversationToolCalls setId(String id)
      Set with ID.
      Parameters:
      id - the unique identifier for the tool call
      Returns:
      this instance for method chaining
    • getFunction

      public ConversationToolCallsOfFunction getFunction()
      Gets the function to call.
      Returns:
      the function details