I've created my own plugin which also includes Standard QGIS-ToolButtons.
I've been trying to add the "Merge Selected Features" (Advanced Digitize Tool Bar) Tool into my Plugin.
How do I add it to a Plugin?
I've tried to add it the same way I'd add the "Split Parts" Tool Button:
Example:
splitParts = self.iface.actionSplitParts()
splitParts.setToolTip(self.tr('Split selected Object'))
self.toolbar.addAction(splitParts)
but there's no "actionMergeSelectedFeatures" call.
I've also tried stuff such as:
self.iface.advancedDigitizeToolBar().actionMergeFeatures()
self.iface.QToolBar('mAdvancedDigitizeToolBar').QAction('ActionMergeFeature')
self.iface.mainWindow().findChild(QAction, 'mActionMergeFeature').trigger()
and also tried a similar approach as I did with the ExportToSpreadsheet Processing Tool (https://gis.stackexchange.com/a/447931/135540)
and I also tried to work with "dissolve" instead as well (ex. processing tool native:dissolve)
but I'm not getting anywhere.
If needed, most of my code is visible in the link I posted above.