utils.OpenApp and getting the name

Continuing the discussion from Ability to access App Name within retoolContext object.

Also relevant: How to get the name of all applications that are in a folder.

Another pattern:

I have a button in app A that will launch another app (B) using utils.OpenApp and on the setup menu for the clickAction I access a menu of all other Apps in my account and pick one. So far so good.

But I have a tooltip on this button that tells the user what the button will do. I want that text to mention the name of app B that the user will see launched when they click the button. Right now I have to hard code this name which means if somebody changes the name of app B then there is immediate technical debt in app A.