get_sync_status
Check the current status of a synchronization task in the Polytomic data pipeline by providing the sync ID.
Instructions
Get the current status of a sync.
Args: id: The sync ID
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Implementation Reference
- src/polytomic_mcp/server.py:399-407 (handler)The get_sync_status function is defined as an MCP tool and performs an asynchronous request to the Polytomic API to get the sync status.
@mcp.tool() async def get_sync_status(id: str) -> str: """Get the current status of a sync. Args: id: The sync ID """ result = await polytomic_request(f"/syncs/{id}/status") return json.dumps(result, indent=2)