Calling Retool functions from within html?

Hello! I’m wondering if there is a way to call Retool functions from within some html code?
For example, if I have a Retool function named “retool_function_x”, I’d like to call it using something like
click here
And if so, is there a way to pass arguments into the called function?
Thank you!

The closest thing I believe you could do is through creating a custom component (https://docs.retool.com/docs/custom-react-components). You can use HTML inside of them, and it is possible to pass query triggers from the component to the JS sandbox