How to create a execution context tool in moqui?

Hello everyone,

I want to create a custom execution context tool in Moqui and could use some guidance. Specifically, I am looking to create a tool for Firebase initialization, but I’m not sure how to get started.

I’ve tried reviewing the existing code for tools in Moqui, but I’m still unclear about the step-by-step process to:

  1. Define the tool within the Moqui framework.
  2. Initialize the tool during the application startup.
  3. Configure the tool for use in the execution context (ec).

If anyone can provide a detailed guide or point me to relevant documentation or examples, I’d greatly appreciate it!

Thank you in advance!

Moqui Documentation