Couldn’t find a public API, but I did find a slightly cleaner way by grepping for all instances of AS_BRING_TEAM_TO_FRONT to find all the functions that used it.
do_bring_to_front_team takes two extra parameters related to window zooming. It then promptly proceeds to ignore those two parameters . So I’ve just filled them in with some sensible default values.
Native apps offer better and easier mechanisms to communicate. This solution is required because Claws is a GTK app which offers almost no way to integrate with Haiku unless you use some nasty hacks like this.