ListClients
ListClientsRetrieve read-only client connection sessions for a Huawei DCS Redis instance, with filters for client address, node, sorting, and pagination to support connection troubleshooting.
Instructions
获取会话列表(只读查询)
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>"
},
"name": "ListClients"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| addr | No | 按客户端连接地址过滤。 | |
| sort | No | 排序字段。 | |
| limit | No | 每页显示条数,最小值为1,最大值为1000,若不设置该参数,则为10. | |
| order | No | 排序方式 | |
| offset | No | 偏移量,表示从此偏移量开始查询, 偏移量大于等于0。 | |
| region | No | Overrides HUAWEI_REGION. | |
| node_id | No | 节点ID。 | |
| project_id | No | Overrides HUAWEI_PROJECT_ID. | |
| instance_id | Yes | 实例ID。 |