get_model
Retrieve details and field information for a specific data model by providing its ID, enabling users to understand model structure and configuration within data pipelines.
Instructions
Get details and fields for a specific model.
Args: id: The model ID
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Implementation Reference
- src/polytomic_mcp/server.py:147-155 (handler)The `get_model` tool handler, which fetches model details from the Polytomic API and formats the output as a JSON string.
@mcp.tool() async def get_model(id: str) -> str: """Get details and fields for a specific model. Args: id: The model ID """ result = await polytomic_request(f"/models/{id}") return json.dumps(result, indent=2)