superset_database_test_connection
Verify database connection details by sending them to Superset's test_connection API, confirming whether the specified SQLAlchemy URI can connect successfully.
Instructions
Test a database connection
Makes a request to the /api/v1/database/test_connection endpoint to verify if the provided connection details can successfully connect to the database.
Args: database_data: Database connection details including sqlalchemy_uri and other parameters
Returns: A dictionary with connection test results
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": {
"database_data": "<database_data>"
},
"name": "superset_database_test_connection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database_data | Yes |