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
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"connection_id": "<connection_id>",
"configuration": "<configuration>"
},
"name": "create_model"
}
}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 |