You can use template variables in both headers and body for HTTP endpoints.
Template format:
Secret variables
Syntax:secret variables must be created in akapulu.com/secrets.
Secret variables are allowed only in endpoint headers (function tools and
pre_actions/post_actions). Secret variables are not allowed in request body fields, role_messages, or task_messages. In custom UI implementations, HTTP tool-call activity is emitted to the frontend via RTVI server-message events and includes the full request body payload. See Customize Conversation UI.Runtime variables
Syntax:runtime variables must be passed to the connect endpoint as runtime_vars.
Examples:
LLM variables
Syntax:Function tools vs pre/post actions
{{llm.*}} variables are only supported for HTTP endpoints configured as function tools. They are not supported in HTTP endpoints configured as pre_actions or post_actions, because those endpoints run automatically without an LLM tool call.
Function tools (LLM-available)
The LLM can call these tools and fill{{llm.*}} variables.
Pre-actions and post-actions (automatic)
These run automatically on node lifecycle and are not called by the LLM.

