Some of the QGIS tools can be selected/activated via PyQGIS using the
iface object (see QgisInterface). For example:
iface.actionIdentify().trigger() # Activates the Identify tool
However, the Text Annotation tool (and also HTML, SVG, and Form annotation tools) are not available in
How can I select/activate the Text Annotation tool from my QGIS python plugin?