db_connect
Test database connections for SQLite, PostgreSQL, and MySQL by verifying connectivity with connection strings or credentials.
Instructions
Test database connection. Supports SQLite (file), PostgreSQL, and MySQL.
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": "db_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Database type | |
| connection | No | Connection string or file path (SQLite) | |
| host | No | Database host | |
| port | No | Port number | |
| database | No | Database name | |
| user | No | Username | |
| password | No | Password |