activate_sync
Enable a data synchronization process by providing the sync ID to start transferring data between systems using the Polytomic MCP Server.
Instructions
Activate (enable) a sync.
Args: id: The sync ID to activate
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Implementation Reference
- src/polytomic_mcp/server.py:376-385 (handler)The activate_sync function implements the MCP tool to activate a sync by sending a POST request to the Polytomic API.
@mcp.tool() async def activate_sync(id: str) -> str: """Activate (enable) a sync. Args: id: The sync ID to activate """ body = {"active": True} result = await polytomic_request(f"/syncs/{id}/activate", method="POST", body=body) return json.dumps(result, indent=2)