Fill a prompt
fill_promptFill a ContexteTech prompt template and return the ready-to-send text, nothing else. Use it when the user wants a prompt applied to their own case; call load_resource first if you need the template or the exact variable names. 'variables' maps each {{name}} of the template to its text value; extra keys are ignored. Fails with an error if the code is unknown, if the resource is not a prompt, or if a template variable is missing (the error lists the missing names).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Short code of the prompt | |
| variables | Yes | Values for each {{variable}} |