Prevents an agent executing more than the allowed tool calls.
Summary
Functions
Checks that the tool-call count is within opts[:max_tool_calls] (default 5).
Functions
@spec check( BeamAgent.State.t(), keyword() ) :: :ok | {:error, :max_tool_calls_reached}
Checks that the tool-call count is within opts[:max_tool_calls] (default 5).