get_phone_number
Retrieve detailed information for a phone number by its unique ID. Returns the corresponding Telnyx Number Object.
Instructions
Get a phone number by ID.
Args: id: Phone number ID as string
Returns: Dict[str, Any]: Response data containing Number Object(s) (record_type: "phone_number")
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": {
"id": "<id>"
},
"name": "get_phone_number"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Phone number ID as string |