Skip to main content
FIXED · account A number belongs to an account and agent. On a shared agent always pass that customer’s eligible from_number. NOT OFFERED → do this instead · number Fixed welcome_message, language, general timezone and pickup delay belong to the agent. Use Dynamic greeting and the number’s custom_prompt for its opening. Split agents for different fixed settings. YOU CAN CHANGE · number PATCH fields below. Clearing depends on the field. Null record_call or require_booking_confirmation inherits. Use the number’s voicemail controls. calcom_timezone_override, custom_prompt, voice_id, sms_reply_enabled, sms_prompt, web_prompt, speaking_rate, dtmf_enabled, require_booking_confirmation, record_call, recording_source, voicemail_leave_enabled, voicemail_message. SCOPE · number Import an owned carrier number, assign an agent, edit its channels or remove its Nixflex connection. For a different greeting per business, keep Dynamic greeting on (the default) and put the opening line in that number’s custom_prompt. For example, “Start every call with: Thank you for calling Oak and Stone”. Read the compact AI rules Use a privately configured carrier pair to update an existing number without putting secret values in chat or tool arguments.
Building an app? Developer version.
Package: MCP 0.5.0 or later ·
Tool input: Number, provider, confirm ·
Secrets: Private process environment ·
Carrier switch: Not supported
The important part
  • The replacement carrier account must contain the exact number and match its current carrier.
  • The tool accepts only phone_number, provider and confirm; never add secrets to those arguments.
  • Private credentials are read only after confirm: true; missing configuration sends no request.
  • An unknown routing outcome needs checking before retry. A pending-save completion uses exactly the same private details.

See how it works

Illustrative conversation between colleagues.

Owner
Can the assistant update this number with our replacement carrier credentials?

Administrator
I will supply the selected pair privately to the MCP process, without showing it in chat.

Owner
Then show the exact number and provider for approval. Do not retry automatically if the result is unclear.

Before you start

Use MCP 0.5.0 with 97 tools with update_phone_number_credentials. Have the local client administrator privately configure only the number’s current carrier pair. The tool uses organisation authority; dashboard roles do not narrow the shared key.

Complete the task

1

Choose the existing number and carrier

Inspect the owned number and confirm its current provider. This action keeps its agent, instructions, switches, integrations and history; it does not buy, reimport or switch the number to another carrier.
2

Supply the selected pair privately

For provider: twilio, the process needs NIXFLEX_TWILIO_SID and NIXFLEX_TWILIO_TOKEN. For provider: telnyx, it needs NIXFLEX_TELNYX_API_KEY and NIXFLEX_TELNYX_CONNECTION_ID. These are variable names, not values to paste. Use the private launcher or secret manager for your client.
3

Check the client’s configuration route

Codex can forward the selected variable names; Cursor can use environment references. Follow the relevant client guide. The Desktop bundle exposes only the Nixflex API-key field, with no carrier-secret fields. If its host cannot privately supply the pair, use the supported dashboard, CLI or SDK workflow.
4

Review and confirm one update

Show the exact number and current provider to the person approving the change. Call update_phone_number_credentials with those fields and confirm: true. Keep client approval enabled and never ask the assistant to inspect or print the environment.
5

Read the result and complete the stated follow-up

The server still checks number ownership, account state and pending operations. A replacement can change routing and may require fresh number verification. Follow the returned result, verify the intended channels and avoid automatic retries.

Read the result

Next