Q:

How to call default tool in QGIS inside plugin using python script?

I want to create a plugin which can draw irregular polygons in QGIS. For that, I want to call the Select features by freehand default tool inside my plugin. How can I do this within a  python script?

A:

This should work:
iface.actionSelectFreehand().trigger()

