delete_model
Remove a data model from Polytomic by specifying its ID to manage data connections and synchronization tasks.
Instructions
Delete a model from Polytomic.
Args: id: The model ID to delete
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Implementation Reference
- src/polytomic_mcp/server.py:228-236 (handler)The delete_model tool handler implementation. It uses the polytomic_request helper to send a DELETE request to the Polytomic API.
@mcp.tool() async def delete_model(id: str) -> str: """Delete a model from Polytomic. Args: id: The model ID to delete """ result = await polytomic_request(f"/models/{id}", method="DELETE") return json.dumps(result, indent=2)