How to add or change value of current_user's metadata attribute in retool?

I want this value

but i can't get to edit this option at all

and assume i want it to go for every user that views my app (on a dynamic basis), how would i do it

the values for current_user.metadata are defined as User Attributes. In your 2nd screenshot if you click on Abhay Saini you get the User details popup:
image

from here, click on User Attributes:
image
above is where you edit the value for each user.

these a synced with the key/values found under Settings -> User Attribues:

these user attribues can ONLY be a string or a number.
if you have an attribute named 'custom_query' you would use {{ current_user.metadata.custom_query }} in your first screenshot instead of {{ current_user.metadata }}

I can't see that feature. Is that feature for paid only users?

ah thats my bad i forgot to check that first, but ya looks like it requires the business or enterprise plan

User Attributes