List do-not-contact numbers
stack_list_opt_outsList the numbers on the customer's do-not-contact list: every number that texted STOP or another opt-out word, and every number the customer or an agent added (stack_add_opt_out). Each entry has id (aoo_*), number in full, texts_blocked, calls_blocked, source (text_stop, or customer for a number added by the customer or an agent) and created_at. Texts and calls to a listed number are refused (RECIPIENT_OPTED_OUT); a STOP is not a complaint, and nothing said on a call adds a number. An agent session may list it and add to it, and only the owner or an admin removes an entry. Returns opt_outs.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "stack_list_opt_outs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||