buy_phone_number
Buy a phone number
Description
Buy a phone number on Hermoso phone ($3 a month on the brand's phone subscription, prorated) or on the brand's own Twilio or Telnyx account (the provider bills it monthly). phoneNumber comes from search_phone_numbers. connectInbox (default true) points its texts at the Hermoso Inbox and its calls at Hermoso's call handling. Without confirm:true nothing is bought and the answer says what would happen; call again with confirm:true once the user agrees. Needs Hermoso phone on (activate_phone_service) or Twilio or Telnyx connected (Connectors, or connect_connector).
Parameters
| Parameter | Type | Description |
|---|---|---|
phoneNumberrequired | string | E.164, e.g. +14155550123 |
connectInbox | boolean | |
name | string | a label for the number |
addressSid | string | Twilio: an address for numbers that require one |
bundleSid | string | Twilio: a regulatory bundle for numbers that require one |
confirm | boolean | |
provider | "twilio" | "telnyx" |
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/buy_phone_number.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"buy_phone_number","arguments":{"phoneNumber":"<string>"}}}
CLI
hermoso call buy_phone_number --json '{"phoneNumber":"<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
search_phone_numbersSearch phone numbers to buyactivate_phone_serviceTurn on Hermoso phoneconnect_connectorConnect a paste-a-key accountconfigure_phone_numberConfigure a phone numberlist_phone_numbersList phone numbersrelease_phone_numberRelease a phone numbersend_smsSend an SMS, MMS or RCS messageget_sms_statusSMS delivery statusrcs_setupRCS business messaging setupwhatsapp_sandboxWhatsApp Sandbox (try before a WhatsApp account)