# Hermoso: buy_phone_number: Buy a phone · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/publish/buy_phone_number/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/) / buy_phone_number

# `buy_phone_number`

Buy a phone number

Area: PHONE / SMS / VOICE · [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/reference/).

## 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

`phoneNumber` required `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](https://hermoso.ai/docs/credits/).

## Related tools

- [search_phone_numbers](https://hermoso.ai/docs/reference/publish/search_phone_numbers/) Search phone numbers to buy
- [activate_phone_service](https://hermoso.ai/docs/reference/publish/activate_phone_service/) Turn on Hermoso phone
- [connect_connector](https://hermoso.ai/docs/reference/workspace/connect_connector/) Connect a paste-a-key account
- [configure_phone_number](https://hermoso.ai/docs/reference/publish/configure_phone_number/) Configure a phone number
- [list_phone_numbers](https://hermoso.ai/docs/reference/publish/list_phone_numbers/) List phone numbers
- [release_phone_number](https://hermoso.ai/docs/reference/publish/release_phone_number/) Release a phone number
- [send_sms](https://hermoso.ai/docs/reference/publish/send_sms/) Send an SMS, MMS or RCS message
- [get_sms_status](https://hermoso.ai/docs/reference/publish/get_sms_status/) SMS delivery status
- [rcs_setup](https://hermoso.ai/docs/reference/publish/rcs_setup/) RCS business messaging setup
- [whatsapp_sandbox](https://hermoso.ai/docs/reference/publish/whatsapp_sandbox/) WhatsApp Sandbox (try before a WhatsApp account)

[All 728 Publishing & scheduling tools](https://hermoso.ai/docs/reference/publish/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
