### Answer
In Retell AI, you can pass static variables into function/API calls through several methods:
## Custom Functions with Static Headers and Query Parameters
When creating custom functions, you can set static values in request headers and query parameters [(1) ](
) . You can define custom headers to include with the request Retell sends to your endpoint, and header values can be static or include dynamic variables . Similarly, you can define query parameters to include in the request URL that Retell appends to your endpoint, where query parameter values can be static or include dynamic variables .
## SMS Tool with Static Content
For SMS functionality, you can use static SMS content where dynamic variables are supported for static SMS content [(2) ](
) . You can write a prompt to let the agent infer the SMS content, or use static SMS content .
## Dynamic Variables with Static Values
You can also use dynamic variables that have static values assigned to them [(3) ](
) . When a dynamic variable has an assigned value, it gets replaced in the content . For example, if you set a variable like
user_name
to "John", then
"Hello {{user_name}}"
becomes
"Hello John"
.
The exact implementation depends on whether you're using custom functions, built-in tools like SMS, or dynamic variable substitution in your prompts and configurations.