workspace__ListUserEvents
Queries user activity events for a Huawei Cloud Workspace project over the last 30 days, supporting filters by user, event type, resource, and pagination.
Instructions
[WORKSPACE] 查询用户事件,一次最多查询30天,支持最近30天的数据查询。
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": {
"end_time": "<end_time>",
"project_id": "<project_id>",
"start_time": "<start_time>"
},
"name": "workspace__ListUserEvents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 用于分页查询,返回用户事件数量限制,取值范围0-1000。如果不指定,默认为100。 | |
| offset | No | 用于分页查询,查询的起始记录序号,从0开始。 | |
| end_time | Yes | 查询结束时间,格式为:UTC时间,例如"1970-01-01T00:00:00Z"。 | |
| username | No | 用户名(精确搜索)。 | |
| event_type | No | 事件类型,英文逗号隔开。 | |
| project_id | Yes | 项目ID。 | |
| start_time | Yes | 查询起始时间,格式为:UTC时间,例如"1970-01-01T00:00:00Z"。 | |
| resource_id | No | 操作资源ID。 | |
| resource_name | No | 操作资源名称。 |