mydatabase_ping
Verifies that the MySQL database connection is alive and returns JSON with server status, version, and connection pool stats (active, idle, queued) for health checks.
Instructions
Health check: verifies the database connection is alive. Returns JSON with status, MySQL server version, and connection pool stats (active, idle, queued).
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": "mydatabase_ping"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pool | Yes | ||
| error | No | Error message if status is 'error' | |
| status | Yes | Whether the database connection is healthy | |
| server_version | No | MySQL server version |