Message.tool_call_fail


Description:

public Message.tool_call_fail (ToolCall tool_call, Error e)

Constructor for tool call failure messages. Used when tool execution fails with an error.

Parameters:

tool_call

The tool call that failed

e

The error that occurred during execution