workspaceapp__ListSessions
Query paginated user session lists for Huawei Cloud WorkspaceAPP by project and time range, filtering by user, machine, IP, session state, or creation success.
Instructions
[WORKSPACEAPP] 查询用户会话列表。
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": {
"project_id": "<project_id>",
"query_begin_time": "<query_begin_time>",
"query_end_time": "<query_end_time>"
},
"name": "workspaceapp__ListSessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 单次查询的大小[1-100]。 | |
| vm_ip | No | 服务器IP。 | |
| offset | No | 查询的偏移量。 | |
| public_ip | No | 客户端出口IP。 | |
| user_name | No | 用户名。 | |
| is_success | No | 会话是否创建成功,默认不填则查询全部 | |
| project_id | Yes | 项目ID。 | |
| machine_name | No | 应用服务器名称。 | |
| session_state | No | 应用状态,支持查询多个,中间用英文逗号分隔: | |
| query_end_time | Yes | 搜索结束时间,以会话开始时间为条件查询,格式2024-02-27T03:47:51.182Z。 | |
| query_begin_time | Yes | 搜索开始时间,以会话开始时间为条件查询,格式2024-02-27T03:47:51.182Z。 | |
| app_server_group_id | No | AppServer组ID。 |