pub fn create_tool_error_message( tool_use_id: &str, error: &str, is_error: bool, ) -> Message
Create a tool result message for errors