def METHOD_NAME(cls, json_data):
    """
    Creates an AgentWorkflowStep object from a JSON string.
    Args:
        json_data (str): JSON string representing the AgentWorkflowStep.
    Returns:
        AgentWorkflowStep: AgentWorkflowStep object created from the JSON string.
    """
    data = json.loads(json_data)
    return cls(
        id=data['id'],
        tool_name=data['tool_name'],
        input_instruction=data['input_instruction'],
        output_instruction=data['output_instruction'],
        history_enabled=data['history_enabled'],
        completion_prompt=data['completion_prompt'],
    )