Set port-out PIN
num_set_port_out_pinSet a 4-10 digit port-out PIN on a phone number to protect against unauthorized porting. The PIN is stored hashed and the failed-attempt lock is reset; step-up MFA is required.
Instructions
Set the customer-chosen 4-10 digit port-out PIN on a number you own (hashed at rest; also resets the failed-attempt lock). Requires step-up MFA on the session. Check current state with num_get_port_out_pin; clear with num_remove_port_out_pin. Errors: INVALID_REQUEST, INVALID_PIN, TN_NOT_OWNED.
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": {
"tn": "<tn>",
"pin": "<pin>"
},
"name": "num_set_port_out_pin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tn | Yes | Telephone number, 10 digits (e.g. "3035551234") or 11 digits with leading 1 | |
| pin | Yes | Port-out PIN, 4-10 digits, e.g. "482913" |