Test a data source connection
test_data_source_connectionCheck whether a set of connection settings actually works, before saving them. Pass an existing dataSourceId to retest a saved connection, or a type and config to test new settings.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "test_data_source_connection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Connector type. Call list_supported_data_connectors for the settings each one expects. | |
| config | No | Connection settings for this connector type, for example { host, port, database, username, password, ssl } for postgres. Credentials are stored encrypted at rest and are never returned by read tools. | |
| dataSourceId | No | Test a saved data source. Omit to test new settings. |