delete_connection
Remove a data connection from the Polytomic platform by specifying its connection ID. This action permanently deletes the connection configuration.
Instructions
Delete a connection from Polytomic.
Args: id: The connection ID to delete
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Implementation Reference
- src/polytomic_mcp/server.py:125-133 (handler)The implementation of the delete_connection tool which uses the polytomic_request helper to send a DELETE request to the Polytomic API.
@mcp.tool() async def delete_connection(id: str) -> str: """Delete a connection from Polytomic. Args: id: The connection ID to delete """ result = await polytomic_request(f"/connections/{id}", method="DELETE") return json.dumps(result, indent=2)