ListRedislog
ListRedislogRetrieves a paginated list of Redis run logs for a specified cloud Redis instance, enabling read-only troubleshooting without executing Redis commands.
Instructions
查询Redis运行日志列表(只读查询)
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": {
"instance_id": "<instance_id>",
"log_type": "<log_type>"
},
"name": "ListRedislog"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 每页显示的条目数量。 | |
| offset | No | 偏移量,表示从此偏移量开始查询, offset大于等于0 | |
| region | No | Overrides HUAWEI_REGION. | |
| log_type | Yes | 返回日志的类型,当前仅支持Redis运行日志,类型为run | |
| project_id | No | Overrides HUAWEI_PROJECT_ID. | |
| instance_id | Yes | 实例ID。 |