get_commandlog
Retrieve recent command log entries from Valkey or Redis instances to monitor executed commands and diagnose issues.
Instructions
Get the most recent entries from COMMANDLOG (Valkey 8+ only, superset of slowlog).
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_commandlog"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of entries to return (default 25) | |
| instanceId | No | Optional instance ID override |