Get a phone number
get_phone_numberGet a phone number
Returns one phone number of the account. The response is the PhoneNumber object itself, not wrapped in a data envelope. Use it to read the current assignment, the lifecycle status and the regulatory verification state of a number. A number that does not belong to the calling account answers 404 rather than 403.
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": {
"phoneNumberId": "<phoneNumberId>"
},
"name": "get_phone_number"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phoneNumberId | Yes | Identifier of the phone number. |