Blocklist Subscribers By Query
listmonk_blocklist_subscribers_by_queryBulk-blocklists all subscribers matching a Listmonk SQL query expression; verify the match count with listmonk_list_subscribers first to avoid unintended blocks.
Instructions
BULK, NO-PREVIEW: blocklists every subscriber matching a Listmonk SQL query expression. Always call listmonk_list_subscribers with the same query first to confirm the match count.
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": {
"query": "<query>"
},
"name": "listmonk_blocklist_subscribers_by_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Listmonk SQL expression selecting subscribers to blocklist in bulk. Always call listmonk_list_subscribers with the same query first to verify the match count. |