get_connection
Retrieve configuration details and metadata for a specific data connection in the Polytomic platform to manage data pipelines and synchronization tasks.
Instructions
Get details for a specific connection.
Args: id: The connection ID
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Implementation Reference
- src/polytomic_mcp/server.py:67-75 (handler)The get_connection function serves as an MCP tool handler for retrieving connection details by its ID. It uses the polytomic_request helper function to perform an authenticated GET request to the Polytomic API.
@mcp.tool() async def get_connection(id: str) -> str: """Get details for a specific connection. Args: id: The connection ID """ result = await polytomic_request(f"/connections/{id}") return json.dumps(result, indent=2)