This is my code which works only with the one raster image. But I need to create the tool that converts the multiple raster to vector in loop with arcpy.
import arcpy
from arcpy.sa import *
arcpy.env.workspace ='in_memory'
arcpy.env.overwriteOutput = True
input = arcpy.GetParameterAsText(0)
output= arcpy.GetParameterAsText(1)
arcpy.RasterToPolygon_conversion(input,output)