How to fire a function when the user cilick on a container

Hi,
I have this code :

with st.container(border=True,key="btn-custom"):
    col1, col2 = st.columns([0.8,0.3])
    with col1:
        st.write("hospital 12")
    with col2:
      with st.container(key="btn-custom-123"):
        st.write(":material/arrow_right_alt:")

what I’m looking for is, to make the container clickable, I mean whe the user click on the container a function mast be executed. is it possible please ?