get_sync_execution
Retrieve detailed status and results for a specific data synchronization execution in Polytomic's MCP server.
Instructions
Get details for a specific sync execution.
Args: sync_id: The sync ID execution_id: The execution ID
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sync_id | Yes | ||
| execution_id | Yes |
Implementation Reference
- src/polytomic_mcp/server.py:422-431 (handler)The handler function for the 'get_sync_execution' tool. It queries the Polytomic API for a specific execution and returns the JSON result.
@mcp.tool() async def get_sync_execution(sync_id: str, execution_id: str) -> str: """Get details for a specific sync execution. Args: sync_id: The sync ID execution_id: The execution ID """ result = await polytomic_request(f"/syncs/{sync_id}/executions/{execution_id}") return json.dumps(result, indent=2)