create_connection
Set up new data connections in Polytomic by specifying name, type, and configuration for sources like PostgreSQL, Salesforce, or Snowflake.
Instructions
Create a new data connection in Polytomic.
Args: name: Name for the connection type: Connection type (e.g. 'postgresql', 'salesforce', 'snowflake') configuration: JSON string with connection config (varies by type)
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>",
"type": "<type>",
"configuration": "<configuration>"
},
"name": "create_connection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| type | Yes | ||
| configuration | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |