ImmediateThrowPolicy

Throws ToolNotFoundException immediately on first unknown tool call.

Functions

Link copied to clipboard
open override fun handle(requestedName: String, availableTools: List<Tool>): ToolNotFoundAction

Handle a tool-not-found event.

Link copied to clipboard
open fun onToolFound()

Called when a tool is found successfully, allowing stateful policies to reset internal counters.