Update a phone line
update_phone_numberChange a phone line's settings: its name, the caller-ID name people see (up to 15 characters, takes 1 to 3 days to reach carriers), call recording, transcription, or which AI agent answers it. Send only what should change.
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": {
"phone_number_id": "<phone_number_id>"
},
"name": "update_phone_number"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Friendly name shown in RevDesk | |
| agent_id | No | AI agent that answers this line, from list_agents | |
| cnam_enabled | No | Turn the caller-ID name on or off | |
| workspace_id | No | Leave empty to act in the connected organization, which is the usual case. Set it only when the user names another store or location: its id from list_workspaces or create_workspace. | |
| phone_number_id | Yes | The line's id from list_phone_numbers (a small number like 42, not the phone number itself) | |
| cnam_display_name | No | Caller-ID name shown on outbound calls, up to 15 characters | |
| recording_enabled | No | Record calls on this line | |
| transcription_enabled | No | Transcribe calls on this line |