create_sync
Set up a new reverse ETL data synchronization in Polytomic by configuring field mappings, target destinations, and scheduling options to move data between systems.
Instructions
Create a new model sync (reverse ETL) in Polytomic.
Args: name: Name for the sync mode: Sync mode ('create', 'update', 'updateOrCreate', 'replace', 'append') target: JSON string with target config {"connection_id": "...", "object": "...", "configuration": {...}} fields: JSON array of field mappings [{"source": {"field": "...", "model_id": "..."}, "target": "..."}] identity: Optional JSON for identity mapping (required for update modes) schedule: Optional JSON for schedule {"frequency": "manual|hourly|daily|weekly|monthly", ...} filters: Optional JSON array of filters filter_logic: Optional filter logic string (e.g. "A AND B")
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": {
"name": "<name>",
"mode": "<mode>",
"target": "<target>",
"fields": "<fields>"
},
"name": "create_sync"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| mode | Yes | ||
| target | Yes | ||
| fields | Yes | ||
| identity | No | ||
| schedule | No | ||
| filters | No | ||
| filter_logic | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |