Update connection settings
update_settingsPartially update a connection's cleaning settings — manual_mode, autofloss, decay_protection, aggressiveness, per-check gates (PATCH /v1/integrations/{type}/connections/{id}). CHANGES THE ACCOUNT and can change which subscribers get removed. Omitted fields are left unchanged.
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": {
"type": "<type>",
"id": "<id>"
},
"name": "update_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Connection id. | |
| type | Yes | ESP slug, e.g. `klaviyo`, `mailchimp`, `brevo`. | |
| action | No | Set the auto-action mailfloss takes on invalid emails for this connection: `delete` (remove), `unsubscribe`, `do_nothing` (scan only), or `update_custom_fields` (auto-update the contact’s custom fields). The first three are not plan-gated; `update_custom_fields` is the "Auto-Update Attributes" feature and returns 403 unless the plan includes it (Pro) or the Auto-Update Attributes add-on is active. Returns 422 for ESPs that cannot perform the chosen action (e.g. `delete` on ConvertKit / MailerLite / Klaviyo / Moosend / Remarkety / Attentive; `unsubscribe` on ClickFunnels). The auto-action and Manual Mode are INDEPENDENT settings (as in the dashboard): setting an action leaves `manual_mode` unchanged, and the two may be sent together. The read shape additionally exposes `update_tags` (dashboard-only, not writable). Reads back as `settings.action`. | |
| checks | No | Partial set of the 12 floss check gates to update. Each is optional; omitted gates keep their current value. Editing ANY gate switches the connection to `custom` aggressiveness. Unknown gate names are rejected. | |
| autofloss | No | Toggle Autofloss (scheduled daily auto-import + clean) for this connection. Paid-plan feature: returns 403 on the free tier, and 422 for integrations that do not support Autofloss (e.g. beehiiv, clickfunnels). The resulting state reads back as `settings.autofloss`; Instafloss is the separate `settings.instafloss` flag. | |
| manual_mode | No | Toggle Manual Mode for this connection. When enabled, addresses that fail verification are held for you to review/action in the dashboard instead of being auto-removed. Mode-independent — does not change the aggressiveness preset. | |
| aggressiveness | No | Set the aggressiveness preset. "normal"/"aggressive" cascade canonical values to all 12 gates; "custom" detaches from a preset without changing gate values. Mutually exclusive with `checks` in one request. | |
| decay_protection | No | Toggle Decay Protection (periodic re-verification of aging contacts) for this connection. Paid-plan feature: returns 403 on the free tier. Enabling resets any custom decay scheduling to the default. Reads back as `settings.decay_protection`. |