sd_check_database_connection
Check database connectivity to troubleshoot failures, verify setup, or monitor health. Returns connection status, version, and paths.
Instructions
Check if the database is reachable and responsive.
PURPOSE: Verify database connectivity for troubleshooting.
WHEN TO USE:
When other tools fail unexpectedly
To verify setup is working
Health monitoring
Returns: DatabaseStatus object with connection status, version, and paths
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Error message if there are problems | |
| status | Yes | Connection status (connected/error) | |
| version | No | eXist-db version | |
| app_path | Yes | Application collection path | |
| base_url | Yes | Base URL of the database | |
| data_path | Yes | Data collection path (where documents are stored) |