set_sms_opt_out
Add or remove an opt-out
Description
Put a phone number on the brand's opt-out list (action add, the default) or take it off (action remove). The list is applied to sends when set_sms_settings has optOutList on. Free. Needs Hermoso phone on (activate_phone_service) or Twilio or Telnyx connected (Connectors, or connect_connector).
Parameters
| Parameter | Type | Description |
|---|---|---|
phonerequired | string | |
action | "add" | "remove" |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/set_sms_opt_out.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"set_sms_opt_out","arguments":{"phone":"<string>"}}}
CLI
hermoso call set_sms_opt_out --json '{"phone":"<string>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
set_sms_settingsSMS sending settingsactivate_phone_serviceTurn on Hermoso phoneconnect_connectorConnect a paste-a-key accountremove_sms_consentRemove an SMS consent recordlist_provider_opt_outsList the provider's opt-outslist_sms_consentsList SMS consent and opt-outssms_registration_status10DLC and toll-free statusrecord_sms_consentRecord SMS consentcreate_sms_registration_bundlesBuild Twilio's 10DLC registration bundlesregister_sms_brandRegister a 10DLC brand