This tool can be used to append multiple vectors into a single shapefile. It is therefore similar to the Union, with the difference being that the Union tool
The following is an example of a Python script using this tool:
            
                wd = pluginHost.getWorkingDirectory()
        
                # You may have multiple input shapefiles but they must
                # be separated by semicolons in the string.
                inputFiles = wd + "input1.shp" + ";" + wd + "input2.shp"
                outputFile = wd + "tmp1.shp"
                args = [inputFiles, outputFile]
                pluginHost.runPlugin("Append", args, False)
            
This is a Groovy script also using this tool:
            
                def wd = pluginHost.getWorkingDirectory()
        
                // You may have multiple input shapefiles but they must
                // be separated by semicolons in the string.
                def inputFiles = wd + "input1.shp" + ";" + wd + "input2.shp"
                def outputFile = wd + "tmp1.shp"
                String[] args = [inputFiles, outputFile]
                pluginHost.runPlugin("Append", args, false)