test_connection
Verify connectivity to a MySQL or MariaDB database, optionally by connection name, to confirm credentials and server access before running queries.
Instructions
Test the database connection
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_connection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection | No | Database connection name (optional, uses default if not specified) |