def _get_protocol_tuple(data: Dict[str, Any]) -> Tuple[str, List, Dict]:
    """Convert a dictionary to a tuple."""
    return data['function'], data.get('args', []), data.get('kwargs', {})
Convert a dictionary to a tuple.