Class ToolCallLimitReachedException

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

public final class ToolCallLimitReachedException extends RuntimeException
Thrown when the maximum number of tool call steps has been reached. Indicates that too many tool calls were made within a single request/response cycle.

You can configure this limit in the `application.conf` file using the setting akka.javasdk.agent.max-tool-call-steps.

See Also:
  • Constructor Details

    • ToolCallLimitReachedException

      public ToolCallLimitReachedException(String message)