connect
Open or replace a dynamic connection to PostgreSQL, MySQL, or MongoDB using a connection string or individual parameters like host, port, and credentials.
Instructions
Open or replace a dynamic PostgreSQL/MySQL/MongoDB connection.
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": {
"type": "<type>"
},
"name": "connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Optional connection id. Defaults to 'default'. | |
| ssl | No | ||
| host | No | ||
| port | No | ||
| type | Yes | ||
| user | No | ||
| database | No | ||
| password | No | ||
| connectionString | No |