insert_hook
Identifies the optimal hook point for a given trigger or lifecycle event in Lampa apps. Maps triggers to appropriate Lampa.Listener or Lampa.Event hooks.
Instructions
Find the best Lampa.Listener or Lampa.Event hook point for a given trigger or lifecycle event.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trigger | Yes | The event or lifecycle moment, e.g. 'player start', 'card render', 'settings open'. |