From what I have seen, it only works in Godot v4.4+.
Because it relies on the `@export_tool_button` functionality to work. (I am not quite up to date on when this feature was added, but I think it was 4.4; correct me if I am wrong, though.)
Workarounds are, of course, possible but not provided by me.