Class ToolCallExecutionException

Object
Throwable
Exception
RuntimeException
akka.javasdk.agent.ToolCallExecutionException
All Implemented Interfaces:
Serializable

public final class ToolCallExecutionException extends RuntimeException
Exception thrown when there is a failure executing a tool call. This includes the name of the tool that failed to execute.
See Also:
  • Constructor Details

    • ToolCallExecutionException

      public ToolCallExecutionException(String message, String toolName, Throwable cause)
  • Method Details

    • getToolName

      public String getToolName()
      Returns the name of the tool that failed to execute.
      Returns:
      the tool name