test_connection
Test an enabled database connection with a bounded read-only operation. Verify connectivity to ensure your data source is accessible before running queries.
Instructions
Test an enabled connection using a bounded read-only operation.
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": {
"connection_id": "<connection_id>"
},
"name": "test_connection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| success | Yes | ||
| error_code | No | ||
| latency_ms | Yes | ||
| connection_id | Yes |