Checks if a tool call result contains an error. Supports both ToolCallContent with ToolCallErrorResult items and legacy simple error format.
Checks if a tool call result contains an error. Supports both ToolCallContent with ToolCallErrorResult items and legacy simple error format.