Exception raised when tool call limits are exceeded.
This exception is raised when the configured exit behavior is 'error' and either the thread or run tool call limit has been exceeded.
Current run tool call count.
Run tool call limit (if set).
Current thread tool call count.
Thread tool call limit (if set).
Tool name being limited (if specific tool), or undefined for all tools.
Exception raised when tool call limits are exceeded.
This exception is raised when the configured exit behavior is 'error' and either the thread or run tool call limit has been exceeded.