update_phone_number
전화번호 webhook/라우팅 설정 변경 (삭제 불가). routingType 으로 webhook/sip/softphone/forward/callflow/agent 착신 라우팅 전환 가능. callflow = 콜 플로우(결정적 ARS)가 인입을 받는다(list_call_flows 로 id 조회). agent = 매니지드 에이전트가 인입을 받는다. list_agents/create_agent로 얻은 agentId를 함께 지정한다. callContextUrl은 agent 라우팅에서 사용한다. friendlyName 은 번호마다 적어 두는 용도 메모(별칭, 최대 50자)로 라우팅에는 영향이 없다. rejectCallerIdRestricted=true 면 이 번호로 오는 번호 표시제한 수신 통화를 받지 않고 거절한다(통화 기록 status=rejected, hangupCause=caller_id_restricted_rejected). 통신사가 표시제한 여부를 보내지 않는 경로에서는 거절되지 않을 수 있다. ringbackSignatureAudioId·ringbackAudioId·ringbackMinSeconds 는 전화를 받기 전 발신자에게 들리는 연결음 설정이다(음원 id 는 list_ringback_audios 로 조회, 음원을 지우려면 빈 문자열·시간을 지우려면 0, 070 번호·대표번호·080 수신자부담에서만 설정). voiceFallbackUrl 은 webhookUrl 요청·실행이 실패했을 때 대신 요청할 대체 URL 이다(null = 해제, webhookUrl 이 없는 번호에는 둘 수 없다). recordingEnabled=false 면 이 번호로 받거나 거는 통화를 녹음하지 않는다(녹음 파일·받아쓰기·요약 없음, 계정 녹음이 꺼져 있으면 값과 무관하게 녹음 안 함).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"number": "<number>"
},
"name": "update_phone_number"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes | ||
| agentId | No | ||
| forwardTo | No | ||
| callFlowId | No | ||
| webhookUrl | No | ||
| routingType | No | ||
| dictionaryId | No | ||
| friendlyName | No | ||
| sipEndpointId | No | ||
| webhookMethod | No | ||
| callContextUrl | No | ||
| forwardTargets | No | ||
| statusCallback | No | ||
| webhookHeaders | No | ||
| ringbackAudioId | No | ||
| sipCredentialId | No | ||
| recordingEnabled | No | ||
| voiceFallbackUrl | No | ||
| ringbackMinSeconds | No | ||
| voiceFallbackMethod | No | ||
| statusCallbackEvents | No | ||
| rejectCallerIdRestricted | No | ||
| ringbackSignatureAudioId | No |