code: def make_api_resp_machine(round_idx):
      if round_idx == 0:
          return {}
      return {"out": round_idx}
  
imports: import parlai.core.tod.tod_agents
  import parlai.core.tod.tod_core
  import os
label_desc: Use image node_id 4 for calling a global function with example usage: make_api_resp_machine(round_idx) and returns: dict, dict