check your Retool version to ensure compatibility.
Additionally, Retool components sometimes take time to load, which may cause functions to be temporarily unavailable. If you were testing in a browser with cached JavaScript, Retool might not have properly loaded the functions.
Hey @Lychee - if you're running an older self-hosted instance, it's possible that this particular method may not be available. If you're on the Retool cloud, though, you should definitely see that option.
I could be way off base, but does the {{ and }} in the screenshot mean this is in a transformer context of sorts and can't call functions that set things?