Body, Mind & Soul — API Reference
    Preparing search index...

    Function buildTriggerImportPrompt

    • Build a plain-text prompt describing this system's trigger JSON schema, filtered to the condition/outcome/hook set valid for a given consumer type. Meant to be pasted into an external LLM alongside the user's own description of the trigger they want, so the LLM can produce valid trigger JSON for this system.

      Parameters

      • consumerType: string

        Key in TRIGGER_CONSUMER_REGISTRY (e.g. "feature", "effect", "action")

      Returns string