Doesn't work inside an
extension
The
@Callable
macro only works in your class definition, and will not work on Swift class extensions.
Gotchas
At the moment it seems like the Callable macro is broken if the function accepts Variant as a parameter.
See https://swiftongodot.slack.com/archives/C05BYJ95S5D/p1733424376946869 for updates.