ToolReturnedError

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.

Constructors

Link copied to clipboard
constructor(toolName: String, message: String, cause: Throwable? = null)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard