Here’s how to add the tool: How To: Custom Toolbar Icons
Since you mentioned you want it in the overflow menu, skip step 4 where you check the box that says “Add to Primary Toolbar”.
To wire it to an action, create a new event.
Set the Trigger properties as follows:
Type = Control
Hook = On Click
Target = your new tool’s ID