klyn.llm.LLMToolCallObserver.toolCallFailed
method

    public toolCallFailed(call as ToolCall, exception as Exception) as Void

Description

Called when a tool cannot be executed.

The original exception is re-thrown by the session after this hook, so the observer must not swallow the failure.

Parameters

- call Tool call requested by the provider.
- exception Execution failure. ```klyn public override toolCallFailed(call as ToolCall, exception as Exception) as Void: print("failed " + call.name + ": " + exception.message) ```