test_connection
Validate Valkey/Redis connection credentials before saving them by testing the connection without persisting it.
Instructions
Test a Valkey/Redis connection without persisting it. Use before add_connection to validate credentials.
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": {
"name": "<name>",
"host": "<host>"
},
"name": "test_connection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Hostname or IP address | |
| name | Yes | Display name for the connection | |
| port | No | Port number | |
| password | No | Auth password | |
| username | No | ACL username (default: "default") |