update_bulk_sync_schemas
Modify which data tables are included in a bulk synchronization process by updating schema configurations for a specified sync ID.
Instructions
Update which schemas/tables are enabled for a bulk sync.
Args: id: The bulk sync ID schemas: JSON array of schema configurations
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| schemas | Yes |
Implementation Reference
- src/polytomic_mcp/server.py:600-610 (handler)The handler function `update_bulk_sync_schemas` which updates bulk sync schemas by making a PATCH request to the Polytomic API.
@mcp.tool() async def update_bulk_sync_schemas(id: str, schemas: str) -> str: """Update which schemas/tables are enabled for a bulk sync. Args: id: The bulk sync ID schemas: JSON array of schema configurations """ body = {"schemas": json.loads(schemas)} result = await polytomic_request(f"/bulk/syncs/{id}/schemas", method="PATCH", body=body) return json.dumps(result, indent=2)