I was looking for a way to get a user prompt within wez and came across this page which has an example for what you asked for "Example of interactively renaming the current tab".
I was looking for a way to get a user prompt within wez and came across this page which has an example for what you asked for "Example of interactively renaming the current tab".