How do I return data from an action?

return json({ return_value: { message: "Hello" } });

Thanks for the reply, Paul. In the end, the correct return is with “return_value” AND what you said about adding a Log Output block.

I think the documentation can be better in my opinion! The error wasn’t the most useful.