graph_def_json action: Add action to request graph defs as JSON.