Fill a prompt template with variables
generate-promptFill a prompt template with supplied variables. Use {name} placeholders with matching vars.name; missing variables become empty text. Returns a prompt string without invoking a model; code/image modes can add framing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Optional deterministic seed for the {{RAND_INT:min,max}} helper, not ordinary placeholders. | |
| type | No | Prompt template category: text, code or image; default text. | |
| vars | No | Object mapping placeholder names to values, e.g. {"name":"Ada"} for {name}. | |
| template | Yes | Template text, e.g. Hello {name}; omitted variables are replaced with empty text. |