list_models
Retrieve all data models available in Polytomic to manage connections, syncs, and data pipelines for Reverse ETL and ELT operations.
Instructions
List all data models in Polytomic.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/polytomic_mcp/server.py:140-144 (handler)The 'list_models' MCP tool handler function. It uses 'polytomic_request' to query the '/models' endpoint and returns the result as a JSON string.
@mcp.tool() async def list_models() -> str: """List all data models in Polytomic.""" result = await polytomic_request("/models") return json.dumps(result, indent=2)