update_warehouse_sync
Modify a warehouse sync's name, query, mapping, cursor, schedule, lists, or options, or pause and resume it. Use it to adjust data imports and control when syncing runs.
Instructions
Change a sync's name, query, mapping, cursor, schedule, lists or options, or pause/resume it with isEnabled. A changed query or cursor reads from the beginning again; unchanged rows are still skipped.
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": {
"syncId": "<syncId>"
},
"name": "update_warehouse_sync"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| query | No | ||
| syncId | Yes | Warehouse sync ID from `list_warehouse_syncs`. | |
| listIds | No | Subscriber syncs only: lists that contacts the sync creates join. Existing contacts keep their lists. | |
| mapping | No | Column mapping. Subscriber syncs: emailColumn (or phoneColumn), externalIdColumn?, firstNameColumn?, lastNameColumn?, tagsColumn?, attributes?: [{"column","attribute"}]. Event syncs: emailColumn or externalIdColumn, eventNameColumn or eventName (fixed), eventIdColumn?, occurredAtColumn?, properties?: [{"column","property"}]. Columns must exist in the query; run `preview_warehouse_query` first. | |
| companyId | No | Company ID. If not provided, uses the currently selected company. | |
| frequency | No | Schedule. Default: daily. | |
| isEnabled | No | false pauses, true resumes. | |
| optInMode | No | Subscriber syncs only. confirmed (default) imports contacts whose consent is already verified; double_opt_in emails new contacts first and needs automations:trigger. | |
| cursorColumn | No | Column read incrementally, for example updated_at. Each run reads rows at or after the last value. Empty string clears it on update. | |
| triggerAutomations | No | Let new contacts or events from the last hour start automations. Default false. Needs automations:trigger. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Additional context about the result. | |
| sync | No | The warehouse sync record returned by Sequenzy. | |
| items | No | Fallback array wrapper used only when a tool returns a bare array. | |
| value | No | Fallback object wrapper used only when a tool returns a non-object value. | |
| message | No | Human-readable status, confirmation, or next-step message. | |
| success | No | Whether the Sequenzy operation succeeded. | |
| warnings | No | Non-fatal cautions about content, permissions, or follow-up actions. |