trigger_bulk_sync
Manually initiate a bulk data synchronization process by specifying the sync ID to execute data transfer operations.
Instructions
Manually trigger a bulk sync to run.
Args: id: The bulk sync ID to trigger
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Implementation Reference
- src/polytomic_mcp/server.py:556-563 (handler)The tool `trigger_bulk_sync` is implemented as an async function decorated with `@mcp.tool()`. It takes a sync ID and performs a POST request to the Polytomic API's `/bulk/syncs/{id}/executions` endpoint to initiate a sync.
async def trigger_bulk_sync(id: str) -> str: """Manually trigger a bulk sync to run. Args: id: The bulk sync ID to trigger """ result = await polytomic_request(f"/bulk/syncs/{id}/executions", method="POST") return json.dumps(result, indent=2)