ToolNotFoundAction

sealed class ToolNotFoundAction

Action returned by ToolNotFoundPolicy.handle.

Inheritors

Types

Link copied to clipboard
data class FeedbackToModel(val message: String) : ToolNotFoundAction

Feed an error message back to the LLM so it can self-correct.

Link copied to clipboard
data class Throw(val exception: ToolNotFoundException) : ToolNotFoundAction

Throw ToolNotFoundException — recovery is not possible or not desired.