sms_numbers_write
Manage an agent's SMS numbers by removing or assigning rented numbers, releasing rentals, and sending test SMS messages to verify connectivity.
Instructions
Manage the SMS numbers of an agent. Connecting your own Twilio account and paying for a rented number are done on the dashboard (they need credentials / card details that must not go through chat). test_send sends a real SMS. Actions: remove — disconnect an SMS number from the agent Needs: phoneNumber. | assign_rental — attach an already-rented platform number to the agent Needs: phoneNumber. | release_rental — give up the rented number of the agent (it stops working; confirm first) | test_send — send a test SMS from the agent number Needs: testPhoneNumber.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | compact (default) = light mode: long text is cut and bulky blobs are replaced by a size marker. full = complete API response. | |
| action | Yes | ||
| agentId | Yes | ||
| message | No | For test_send (optional). | |
| phoneNumber | No | E.164 number, for remove and assign_rental. | |
| testPhoneNumber | No | For test_send: E.164 recipient. |