Tool Returned Error
class ToolReturnedError(val toolName: String, message: String, cause: Throwable? = null) : RuntimeException
Recorded on a com.embabel.agent.api.event.ToolCallResponseEvent when a tool returns Tool.Result.Error instead of throwing, so the event reports a failure.