Skip to main content
When creating a tool with type: "send_sms" via the Create Tool endpoint, the static_params object configures how the SMS message is generated and sent.
When creating a send_sms tool, the following tool-level fields are recommended alongside your static_params:

Static Params Schema


Examples

Static Message

Send the same fixed message every time the tool is triggered.

AI-Generated Message (Prompt)

Let the AI compose the SMS dynamically based on the conversation context.

Dynamic Variables

When using type: "static", you can include dynamic variables in the message using double curly braces. These variables are resolved at runtime from the conversation context or tool parameters.
For the UI-based setup guide, see the Send SMS Custom Function documentation.