Auto-fix port-in errors
port_auto_fixApply TNIQ auto-fixes to porting errors, scoping to specific error groups or phone numbers when needed, then revalidate or resubmit the port request.
Instructions
Apply TNIQ auto-fixes to the project, optionally scoped to one error group (from port_get_error_groups) or a TN subset. After fixing, run port_revalidate_tns or port_resubmit_request as appropriate. Errors: NOT_FOUND, TNIQ_ERROR.
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": "port_auto_fix"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Port request UUID (from port_list_requests or port_create_request) | |
| tns | No | Optional subset of 10-digit TNs to fix; omit to fix all affected TNs | |
| error_group_id | No | Error group ID (from port_get_error_groups) to scope the fix to |