create_model
Create a new data model in Polytomic by specifying a name, connection ID, and configuration such as SQL queries or table references.
Instructions
Create a new data model in Polytomic.
Args: name: Name for the model connection_id: The connection ID this model uses configuration: JSON string with model config (e.g. {"query": "SELECT * FROM users"} or {"table": "users"}) identifier: Optional field name to use as unique identifier tracking_columns: Optional JSON array of column names for change tracking
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| connection_id | Yes | ||
| configuration | Yes | ||
| identifier | No | ||
| tracking_columns | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |