Close your prepaid answering line
close_answering_lineEnd answering on a prepaid phone line you own. This is permanent through these controls: ask hello@odilelabs.com about reopening or the unused balance, which stays recorded without a charge, refund or forfeiture. Use line_id and the phone number from get_answering_line, then require the owner’s approval, confirm: true and its last four digits. The existing carrier close operation redirects the number to a no-longer-in-service message, clears its fallback and SMS URLs and closes its SIP address; the number is kept, never released. Calls still reaching this Worker hear “This line is closed.” on carrier routes and cannot start AI or use balance. One owner email is queued with the surface and time; no text is sent. Already closed returns already; setting-up, agency and subscription lines are refused with their management path. SIP-only lines without a phone number need support. Requires lines:manage; the same lease, fresh ownership check and account/line rate limits as pause_answering_line. Returns status, closed_at, balance_kept, already, email_queued and any warning.
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": {
"line_id": "<line_id>",
"confirm": "<confirm>",
"last4": "<last4>"
},
"name": "close_answering_line"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| last4 | Yes | The last four digits of this answering line’s phone number, not the owner’s mobile. | |
| confirm | Yes | The owner explicitly approved permanently ending answering and keeping the unused balance recorded. | |
| line_id | Yes | An owned line_id from get_answering_line. |