handle

abstract fun handle(requestedName: String, availableTools: List<Tool>): ToolNotFoundAction

Handle a tool-not-found event.

Return

the action the tool loop should take

Parameters

requestedName

the tool name the LLM requested

availableTools

the currently available tools