get_cluster_slowlog
Aggregate slow query logs across all nodes in a Redis/Valkey cluster to identify slow commands. Use when per-node slowlogs are insufficient for diagnosis.
Instructions
Get the aggregated slowlog across ALL nodes in the cluster. This is the primary tool for finding slow commands in cluster mode — per-node slowlogs are incomplete. Returns an error message if not in cluster mode.
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": "get_cluster_slowlog"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max entries to return (default 100) | |
| instanceId | No | Optional instance ID override |